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 09:50
17. implement the jvm dload instruction for the mic-2. it has a 1-byte index and pushes the local variable at this position onto the stack. then it pushes the next higher word onto the stack as well
Answers: 2
question
Computers and Technology, 23.06.2019 06:00
What machine listens for http requests to come in to a website’s domain? a. a router b. a browser c. a server d. a uniform resource locator
Answers: 1
question
Computers and Technology, 23.06.2019 06:30
On early television stations, what typically filled the screen from around 11pm until 6am? test dummies test patterns tests testing colors
Answers: 1
question
Computers and Technology, 24.06.2019 18:00
Your computer running windows 10 is doing some very strange things with the operating system. you are fairly certain it is not a hardware issue. you need to try to get further insight into what is going on within the operating system. which tool would be best-suited for this?
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, 20.09.2020 08:01
question
Mathematics, 20.09.2020 08:01
question
Mathematics, 20.09.2020 08:01
question
Chemistry, 20.09.2020 08:01
question
English, 20.09.2020 08:01
Questions on the website: 13722360