Question: Assign variable minValue with the smallest value of 6 positive floating - point values read from input. Ex: If the input is 1 3 .
Assign variable minValue with the smallest value of positive floatingpoint values read from input.
Ex: If the input is then the output is:
Note:
The first value read is the smallest value seen so far.
All floatingpoint values are of type double. #include
#include
using namespace std;
int main
double inVal;
double minValue;
int i;
Your code goes here
cout minValue endl;
return ;
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
