C++ Book


ScoreRater

Output

ScoreRater1.0

This is always displayed.

At least you didn't score zero.

You score 250 or more. Decent.

You scored 500 or more. Nice.

You scored 1000 or more. Impressive!

ScreenShot

ScoreRater2.0

Score < 1000

Enter your score: 100
You scored less than 1000.

Score > 1000

Enter your score: 1001
You scored 1000 or more. Impressive!

ScreenShot

ScoreRater3.0

Score < 250

Enter your score: 100
You scored less than 250. Nothing to brag about.

Score >= 250

Enter your score: 251
You scored 250 or more. Decent.

Score >= 500

Enter your score: 501
You scored 500 or more. Nice.

Score >= 1000

Enter your score: 1001
You scored 1000 or more. Impressive!

Screenshot