Adapted by Neilor Tonin, URI Brazil
Read 6 values that can be floating point numbers. After, print how many of them were positive. In the next line, print the average of all positive values typed, with one digit after the decimal point.
The input consist in 6 numbers that can be integer or floating point values. At least one number will be positive.
The first output value is the amount of positive numbers. The next line should show the average of the positive values typed.
|Input Sample||Output Sample|
4 valores positivos