BASIC programs
WORLD PRESS FREEDOM INDEX 2014 was released from Reporters Without Boarders.
We want to calculate 0 to 100 examination point for the country.
Calculations is (1 - (Rank-1) / 180) * 100
No.1 is Finland,
(1 - (1 -1) / 180) * 100 = 100
France is No.39,
(1 - (39 -1) / 180) * 100 = 78.88888 = 78.89
Japan is No.59,
(1 - (59 -1) / 180) * 100 = 67.77777 = 67.78
Spain is No. 35,
(1 - (35 -1) / 180) * 100 = 81.11111 = 81.11
10 REM PRESS FREEDOM
20 PRINT "WORLD PRESS FREEDOM INDEX 2014"
30 INPUT A
40 B = (1 - (A - 1) / 180) * 100
50 PRINT "THE POINT FOR THE COUNTRY = "; B
60 END
Where is your country ?
What point does your country get ?
Homework: Make flow chart for this program.
(R.S.F. toshiki speed news press, Agence France-Presse, 23 Monday June 2014 The Roman)
Maybe you can make another calculate program.
(R.S.F. toshiki speed news press, Agence France-Presse, 23 Monday June 2014 The Roman)