subject

Whats the error in this code? // this program uses an if/else if statement to assign a // letter grade (a, b, c, d, or f) to a numeric test score. #include using namespace std; int main() { int testscore; cout < < "enter your test score and i will tell you\n"; cout < < "the letter grade you earned: "; cin > > testscore; if (testscore < 60) cout < < "your grade is f.\n"; else if (testscore < 70) cout < < "your grade is d.\n"; else if (testscore < 80) cout < < "your grade is c.\n"; else if (testscore < 90) cout < < "your grade is b.\n"; else cout < < "that is not a valid score.\n"; else if (testscore < = 100) cout < < "your grade is a.\n"; return 0; }

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 11:00
Which law requires employers to provide safe working environments for their employees? a. civil rights act b. fair labor standards act c. occupational safety and health act d. wagner act
Answers: 1
question
Computers and Technology, 23.06.2019 05:20
What did creator markus “notch" persson initially call his game
Answers: 1
question
Computers and Technology, 23.06.2019 07:30
Which option allows you to view slides on the full computer screen?
Answers: 1
question
Computers and Technology, 23.06.2019 12:00
What does the level 1 topic in a word outline become in powerpoint? a. first-level bullet item b. slide title c. third-level bullet item d. second-level bullet item
Answers: 1
You know the right answer?
Whats the error in this code? // this program uses an if/else if statement to assign a // letter gr...
Questions
question
Mathematics, 24.09.2019 20:00
question
Biology, 24.09.2019 20:00