You are on page 1of 3

//Name: Carlvin C.

Manjares

//Sction: PETE-1206

//SR-code: 19-09453

#include <iostream>

#include <stdlib.h>

#include <conio.h>

using namespace std;

int main ()

int ios;

cout<<"Enter a number:\n";

cin>>ios;

switch(ios)

case 1:

cout<<"The month is January\n";

break;

case 2:

cout<<"The month is February\n";

break;

case 3:

cout<<"The month is March\n";


break;

case 4:

cout<<"The month is April\n";

break;

case 5:

cout<<"The month is May\n";

break;

case 6:

cout<<"The month is June\n";

break;

case 7:

cout<<"The month is July\n";

break;

case 8:

cout<<"The month is August\n";

break;

case 9:

cout<<"The month is September\n";

break;

case 10:

cout<<"The month is October\n";

break;

case 11:

cout<<"The month is November\n";

break;

case 12:
cout<<"The month is December\n";

break;

default:

cout<<"NOTE: only numbers 1-12.(^_^)\n";

main();

return 0;

You might also like