0

study question

How could I write a program that asks for 5 values and outputs the percentage of values that are evenly divisible by 4 (or any other number)?

22nd Feb 2018, 5:34 AM
King
King - avatar
5 Respuestas
+ 1
I still get the output 0 with the float
22nd Feb 2018, 7:07 AM
King
King - avatar
+ 1
thanks
22nd Feb 2018, 7:21 AM
King
King - avatar
0
alright so would I have to set up if statements for each of the values?
22nd Feb 2018, 6:03 AM
King
King - avatar
0
still not seeing what's wrong
22nd Feb 2018, 6:49 AM
King
King - avatar