Java program to store a number between 1 to 5 in a variable and print it in words using switch case statement
Answers
Answered by
2
Switch statement helps simplifying multiple choices in a program. Let's start with the sample problem.
Problem. User enters month's number, then program tells month's name
Similar questions
History,
1 month ago
Physics,
1 month ago
Computer Science,
1 month ago
Math,
2 months ago
Hindi,
2 months ago
Political Science,
8 months ago
Math,
8 months ago