#include<iostream>usingnamespace std;intmain(){
if(true){
cout <<"This is always displayed.\n\n";}if(false)
cout <<"This is never displayed.\n\n";int score =1000;if(score){
cout <<"At least you didn't score zero.\n\n";}if(score >=250)
cout <<"You scored 250 or more. Decent.\n\n";if(score >=500){
cout <<"You scored 500 or more. Nice.\n\n";if(score >=1000)
cout <<"You scored 1000 or more. Impressive!\n";}return0;}
02.score_rater2.cpp
#include<iostream>usingnamespace std;intmain(){
int score;
cout <<"Enter your score: ";
cin >> score;if(score >=1000)
cout <<"You scored 1000 or more. Impressive!\n";else
cout <<"You scored less than 1000.\n";return0;}
02.score_rater3.cpp
#include<iostream>usingnamespace std;intmain(){
int score;
cout <<"Enter your score: ";
cin >> score;if(score >=1000){
cout