answersLogoWhite

0

/* write a program to print Days of Week using switch-case structure */

#include<stdio.h>

#include<conio.h>

void main()

{

int n;

clrscr();

printf("\n Enter Day of weak as Number 1 to 7 ");

scanf("%d",&n);

switch(n)

{

case 1:

printf("\n MONDAY ");

case 2:

printf("\n TUESDAY");

case 3:

printf("\n WEDNESDAY");

case 4:

printf("\n THURSDAY");

case 5:

printf("\n FRIDAY");

case 6:

printf("\n SATURDAY");

case 7:

printf("\n SUNDAY");

default :

printf("\n no operation is required");

}

getch();

}

User Avatar

Wiki User

12y ago

What else can I help you with?

Related Questions

Opengl programming source code for pool game?

writ an opengl program for pool game


What does writ of assistance mean?

why were colonists angry about British officers using writs of assistance?


What legal document is similar to a present day search warrant?

Writ of Assistance


What is a writ kck writ?

A writ kck, often referred to as a &quot;writ of kck,&quot; is not a commonly recognized legal term. It is possible that you meant &quot;writ of certiorari,&quot; which is a type of writ used by higher courts to review the decisions of lower courts. Please clarify if you meant a specific type of writ or if there was a typographical error in your question.


How many pages does And Having Writ... have?

And Having Writ... has 250 pages.


What is a writ on a house?

A writ is a legal order or command, an official mandate requiring the performance of a specific act. Examples of writs include a writ of possession, writ of execution, writ of garnishment, etc. Presumably the writ referred to in the question would have something to do with a home or other real estate.


What is a writ of registration on a vehicle repossession?

A 'writ of REPLEVIN" maybe?


When was And Having Writ... created?

And Having Writ... was created in 1978.


What is a writ of right?

A writ of right is a writ which lay to recover lands in fee simple, unjustly withheld from the true owner.


What is a writ of inquiry?

A writ of mandamus is a writ which compels a government entity to perform mandatory or purely ministerial duties correctly.


What is blue writ?

A writ of bodily attachment ("Blue Writ") is issued for somebody's arrest when they have traditionally missed a court date or payment.


What is writ in Tagalog term?

Tagalog Translation of WRIT: ang kapagyarihang magpatupad ng pagsunod