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, 23.06.2019 14:30
Select the correct answer. which step can possibly increase the severity of an incident? a. separating sensitive data from non-sensitive data b. immediately spreading the news about the incident response plan c. installing new hard disks d. increasing access controls
Answers: 2
question
Computers and Technology, 23.06.2019 18:30
Report all segments of identity by descent longer than 20 polymorphisms between pairs of individuals in the following cohort of 15 individuals across 49 polymorphisms: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 numeric input 2 points possible (graded) you have 2 attempts to complete the assignment below. for example if the sequence is "bcd", which occurs in "abcdef" , the starting point would be 2 (b), and the finishing point would be 4(d). individuals 7,10 between positions
Answers: 1
question
Computers and Technology, 24.06.2019 08:30
Formatting rows and columns is similar to cell formatting. in an openoffice calc spreadsheet, you can format data entered into rows and columns with the of the rows and columns options. you can insert rows and columns into, or delete rows and columns from, a spreadsheet. use the insert or delete rows and columns option on the insert tab. alternatively, select the row or column where you want new rows or columns to appear, right-click, and select insert only row or only column options. you can hide or show rows and columns in a spreadsheet. use the hide or show option on the format tab. for example, to hide a row, first select the row, then choose the insert tab, then select the row option, and then select hide. alternatively, you can select the row or columns, right-click, and select the hide or show option. you can adjust the height of rows and width of columns. select row and then select the height option on the format tab. similarly, select column, then select the width option on the format tab. alternatively, you can hold the mouse on the row and column divider, and drag the double arrow to the position. you can also use the autofit option on the table tab to resize rows and columns.
Answers: 1
question
Computers and Technology, 24.06.2019 10:50
In 2009 to 2010, how many social network users were reported as being victims of online abuse? a. 1 in 10 b. 100% c.1 in 100 d. 50%
Answers: 2
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, 02.07.2019 00:30
question
Mathematics, 02.07.2019 00:30
question
History, 02.07.2019 00:30
question
Mathematics, 02.07.2019 00:30
Questions on the website: 13722367