See your code
Int num;
System.out.println("Enter any numberequal to or between 1-12 to display the month");
switch (num)
You have declared
num
with
Int num;
You then output a message to the user with
System.out.println("Enter any numberequal to or between 1-12 to display the month");
But then the next thing you do is to try and use
num
switch (num)
You need to insert a line to get the input from the user into the variable
num
e.g. (not tested!)
scanf("%d", &num);
I've just seen some of your other questions in this forum, this is not a good way to learn the C language (or any language) - get yourself a good book and work through it rather than asking questions here every time you hit a compiler error. Or have a read of this
How to Write Code to Solve a Problem, A Beginner's Guide[
^]