Write a program that would read 3 1-digit numbers say x,y, and z and would output the following: x*yz if x*y is greater than z Ex. if the inputs ate 5 6 9, output is 5*6>9
Write a
x*y<z if x*y is less than z
x*y=z if x*y is equal to z
x*y>z if x*y is greater than z
Ex. if the inputs ate 5 6 9, output is 5*6>9
3B. Create a C program based on the obtained output and after running the executable file.
Please enter a single digit for a day (within the range of 1 to 7) : 1
Day 1 is Sunday.
-nested if statement and switch statement are required by simply presenting a pseudocodes for each program body.
-make your codes simple and readable and avoid using too much comments and complicated whole words variable in your program.
-present clean programs and direct to the point programs and displays. (messy programs leads to spaghetti codes)
![](/static/compass_v2/shared-icons/check-mark.png)
Trending now
This is a popular solution!
Step by step
Solved in 2 steps with 1 images
![Blurred answer](/static/compass_v2/solution-images/blurred-answer.jpg)
![Computer Networking: A Top-Down Approach (7th Edi…](https://www.bartleby.com/isbn_cover_images/9780133594140/9780133594140_smallCoverImage.gif)
![Computer Organization and Design MIPS Edition, Fi…](https://www.bartleby.com/isbn_cover_images/9780124077263/9780124077263_smallCoverImage.gif)
![Network+ Guide to Networks (MindTap Course List)](https://www.bartleby.com/isbn_cover_images/9781337569330/9781337569330_smallCoverImage.gif)
![Computer Networking: A Top-Down Approach (7th Edi…](https://www.bartleby.com/isbn_cover_images/9780133594140/9780133594140_smallCoverImage.gif)
![Computer Organization and Design MIPS Edition, Fi…](https://www.bartleby.com/isbn_cover_images/9780124077263/9780124077263_smallCoverImage.gif)
![Network+ Guide to Networks (MindTap Course List)](https://www.bartleby.com/isbn_cover_images/9781337569330/9781337569330_smallCoverImage.gif)
![Concepts of Database Management](https://www.bartleby.com/isbn_cover_images/9781337093422/9781337093422_smallCoverImage.gif)
![Prelude to Programming](https://www.bartleby.com/isbn_cover_images/9780133750423/9780133750423_smallCoverImage.jpg)
![Sc Business Data Communications and Networking, T…](https://www.bartleby.com/isbn_cover_images/9781119368830/9781119368830_smallCoverImage.gif)