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 14:00
What are procedures that keep a data base current
Answers: 1
question
Computers and Technology, 23.06.2019 16:30
What is one reason why indoor air pollution has become an increasing problem.
Answers: 1
question
Computers and Technology, 23.06.2019 21:00
Which task uses a simple parameter?
Answers: 1
question
Computers and Technology, 24.06.2019 18:30
*write a program that defines symbolic names for several string literals (chars between quotes). * use each symbolic name in a variable definition. * use of symbolic to compose the assembly code instruction set can perform vara = (vara - varb) + (varc - vard); ensure that variable is in unsigned integer data type. * you should also further enhance your symbolic logic block to to perform expression by introducing addition substitution rule. vara = (vara+varb) - (varc+vard).
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
Chemistry, 02.09.2020 17:01
question
Mathematics, 02.09.2020 17:01
question
English, 02.09.2020 17:01
Questions on the website: 13722361