score = 2*raw + 200
If raw
is 100, then score
is 400.
Say that you have a few hundred raw scores and want a program to convert them to adjusted scores.
You would like the program to first ask the user for the values scale
and base
,
and then ask for the raw scores one by one.
For each raw score it prints the adjusted score.
The raw scores are in the range 0 to 300.
Will the program use a loop?