Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

as fast as you can sir 4 Write a C program to keep displaying the following menu: 1) Months 2) Days 3) Hours 4) Minutes

image text in transcribedas fast as you can sir
4 Write a C program to keep displaying the following menu: 1) Months 2) Days 3) Hours 4) Minutes 5) Seconds 6) Exit to read a Year value and convert it to the selected item until the user chooses Exit. Assume that 1 Year = 12 Months and 1 Month = 30 Days. Example: If option 1 is selected and input is 10, the output will be 10 * 12 = 120 Months If option 2 is selected and input is 5, the output will be 5*12*30=180 If option 6 is selected, the program terminates. (Non-anonymous question )

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Design Application Development And Administration

Authors: Michael V. Mannino

3rd Edition

0071107010, 978-0071107013

More Books

Students also viewed these Databases questions