You are on page 1of 3

Machine Problem 1: Prog11.

CS

Create a complete C# program that will allow user to input numbers from 1-12 and display its equivalent
month name.

PSEUDOCODE:

BEGIN

Prompt user for any number (from 1-12)

Save input to var month

IF month == 1

PRINT January

ELSE IF month == 2

PRINT February

ELSE IF month == 3

PRINT March

ELSE IF month == 4

PRINT April

ELSE IF month == 5

PRINT May

ELSE IF month == 6

PRINT June

ELSE IF month == 7

PRINT July

ELSE IF month == 8

PRINT August

ELSE IF month == 9

Print September

ELSE IF month == 10

Print October
ELSE IF month == 11

PRINT November

ELSE IF month == 12

PRINT December

ELSE

PRINT Error

ENDIF

END

FLOWCHART
END

You might also like