Question: 6) Write a program to read a day number in integer and display day name knowing that the week starts with Saturday using switch case.

 6) Write a program to read a day number in integer

6) Write a program to read a day number in integer and display day name knowing that the week starts with Saturday using switch case. 7) Write c program so that the user enters two integer values: number1 and number2. If the remainder of dividing number1 by number2 is equal to 0, then the program should print on the screen "Number1 is a multiple of number2". Otherwise, the program should output a message "Number1 is not a multiple of number2". 8) Write a C program that compute the perimeter of Circle, Rectangle, Triangle and Square. The program asks the user to specify the shape, and then it reads the required value to compute the perimeter for that specified shape. Note: the perimeter for the shapes: Circle = 2 x radius x II Square = 4x side Rectangle = 2 x(width+length) Triangle = side 1 + side2+ side3

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!