subject

Write a program that prompts the user to enter two characters and displays the major and status represented in the characters. The first character indicates the major and the second is number character 1, 2, 3, 4, which indicates whether a student is a freshman, sophomore, junior, or senior. Suppose the following characters are used to denote the majors: M: Mathematics C: Computer Science I: Information Technology Samples: Enter two characters: M1 (Press Enter) Result: Mathematics Freshman Samples: Enter two characters: C3 (Press Enter) Result: Science Junior Samples: Enter two characters: T3 (Press Enter) Result: Invalid Major Samples: Enter two characters: M8 (Press Enter) Result: Invalid status code.

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 16:10
Drag each label to the correct location on the imagelist the do’s and don’ts of safeguarding your password.keep yourself loggedin when you leave your computer.don’t write your password down and leave it whereothers can find it.share your password with your friends.each time you visit a website,retain the cookies on your computer.use a long password with mixed characters.
Answers: 1
question
Computers and Technology, 22.06.2019 18:00
When is it appropriate to use an absolute reference
Answers: 1
question
Computers and Technology, 23.06.2019 09:30
Write an essay on online collaboration, how to do it, the challenges, resolving the challenges, and consider whether the risks are greater than rewards. ( need )
Answers: 1
question
Computers and Technology, 23.06.2019 10:00
Whats three fourths of 15(this is supposed to be in math but i clicked too fast)
Answers: 1
You know the right answer?
Write a program that prompts the user to enter two characters and displays the major and status repr...
Questions
question
Engineering, 12.11.2020 01:00
question
Mathematics, 12.11.2020 01:00
question
History, 12.11.2020 01:00
Questions on the website: 13722361