Question: C++, please! Write a program that accepts a single character representing a SmartPhone Company as input from the user. Then the program should print out
C++, please!

Write a program that accepts a single character representing a SmartPhone Company as input from the user. Then the program should print out the text for the appropriate SmartPhone Company. Your program prompts the user with "Enter the first letter of the SmartPhone Company:" Your program asks the user to input a character, which can have any value. Your program prints output according to the following: o If the input is 'S', print "Samsung" If the input is 'A', print "Apple" . If the input is 'o', print "Oneplus" If the input is 'G', print "Google" . Any input value that is not 'S, 'A', 'O', or 'G' print "Invalid" Note: You must use a switch case for this problem. if/else statements are not allowed. The format of the output should be "SmartPhone Chosen:"
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
