Question: Need help in my program I am stuck part (e.g. 2 and 6.78 are acceptable The user can enter numbers with or without a fractional

 Need help in my program I am stuck part (e.g. 2Need help in my program I am stuck
and 6.78 are acceptable The user can enter numbers with or without

part (e.g. 2 and 6.78 are acceptable The user can enter numbers with or without a fractional . The value 0 which is entered to end the input sequence must not be considered as being in . The program must work for input sequences which contain numbers that are all positive, all input values). the input sequence negative, or a mixture of positive and negative. If there are no positive numbers, it mustn't display a minimum and maximum of positive numbers, but must instead give a message as shown in the sample run below. (And similarly if there are no negative numbers.) If the first number entered by the user iszero, the behavior must be as shown below. The prompts and output displayed by the program must be formatted as shown in the sample run below (e.g. blank lines, spacing, numbers with fractions displayed with 3 places after the decimal point). . A sample run of your program should look like: Entering 0 will terminate the sequence of input values. Enter a number 6 Enter a number: 2.3 Enter a number: -4 Enter a number 6 Enter a number: 2.3 Enter a number: -4 Enter a number: 98 Enter a number: -4.5 Enter a number: -22 Enter a number-1.3 Enter a number0 There are 3 values entered, with minimum 2.300, maximum 98.000 There are 4 negative values enteret, with minimum -22.000, maximum -1.300

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!