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?

Continue Learning about Engineering

Opengl programming source code for pool game?

writ an opengl program for pool game


Writ of execution?

A writ of execution is defined as a order from the court empowering the sheriff, marshal, or other appropriate law enforcement agency to levy upon the assets of the debtor in order to satisfy the judgment.


Writ evolution program ofInfix convert postfix without using classes or structures?

//made by vijay sahu#include#includevoid main(){char p[20];int stack[15];int ts=-1,top=0;int l=strlen(p);coutp;for(int i=0;i=48 && p[i]


Writ a c plus plus program a function intersect() with four float parameter m1b1m2b2.the function returns 1 if the two Line intersect. otherwise should return 0.?

Here's a simple C++ function intersect() that takes four float parameters representing the slopes and y-intercepts of two lines and returns 1 if they intersect, and 0 otherwise: #include &lt;iostream&gt; int intersect(float m1, float b1, float m2, float b2) { // If the slopes are equal, the lines are parallel and do not intersect. return (m1 != m2) ? 1 : 0; } int main() { // Example usage std::cout &lt;&lt; intersect(1.0, 2.0, 1.0, 3.0) &lt;&lt; std::endl; // Output: 0 std::cout &lt;&lt; intersect(1.0, 2.0, -1.0, 3.0) &lt;&lt; std::endl; // Output: 1 return 0; } This function checks if the slopes (m1 and m2) of the two lines are equal; if they are, the lines are parallel and do not intersect, returning 0. Otherwise, it returns 1, indicating that the lines intersect.


Examine the list and answer the following question Which items in the list are primary sources a historian could use to contextualize why a political revolution occurred in Egypt in 2011 A letter writ?

A letter written by a participant in the Egyptian revolution would be a primary source, as it provides firsthand insight into the thoughts and motivations of individuals directly involved in the events. Additionally, photographs or videos from protests and demonstrations can serve as primary sources, capturing the atmosphere and public sentiment during the revolution. Government documents or official statements from that period could also help contextualize the political climate leading up to the revolution.

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?


Defects of using Writ?

Using a writ can have several defects, including potential delays in the judicial process, as the issuance and response to a writ can take time, leading to prolonged legal disputes. Additionally, the specific grounds for issuing a writ may be limited, restricting the ability to address broader issues or injustices. There may also be jurisdictional challenges, as not all courts have the authority to issue certain types of writs, which can complicate access to justice for petitioners. Finally, the rigid procedural requirements for filing a writ can discourage individuals from pursuing legitimate claims.


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.


Does writ returned mean its been satisfied?

No, a writ returned does not necessarily mean it has been satisfied. A writ returned indicates that the court has received the document back, often with information about the outcome of the enforcement action. Satisfaction of the writ means that the terms of the writ have been fulfilled, which may or may not be the case when the writ is returned.