G
Guest
I'm trying to write to the screen all numbers, in increments of .5, from 80
to 50. The results need to be in descending order like so:
80
79.5
79
78.5
78
77.5
77
76.5
76
75.5
....
....
505
50
I can't seem to get the for (int i = 80; i <= 50; i++) loop working out
properly. Any advice would be great. Thank you.
to 50. The results need to be in descending order like so:
80
79.5
79
78.5
78
77.5
77
76.5
76
75.5
....
....
505
50
I can't seem to get the for (int i = 80; i <= 50; i++) loop working out
properly. Any advice would be great. Thank you.