Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

in c language, to call all function in main program in c language 11. Write a main program that allows a user to use the

image text in transcribed

in c language, to call all function in main program

image text in transcribed

in c language

11. Write a main program that allows a user to use the functions in questions 1-10. The program contains an interactive menu. The menu has 10 options. Each option is on separate line with an option number and an option description as follows. 1- computing pi, 2-computing square root, 3-displaying primes, 4-processing grades, 5-computing tax, 6-solving quadratic, 7-computing factorial, B-counting file, 9-sorting file, 10- student file, 11-quit. The user enters an option number. Each option calls its function. If the function needs inputs then the menu program asks the user for inputs. If the function gives outputs then the menu program displays the outputs with appropriate messages. The menu program repeatedly displays the menu and asks for an option until the user quits. 11. Write a main program that allows a user to use the functions in questions 1-10. The program contains an interactive menu. The menu has 10 options. Each option is on separate line with an option number and an option description as follows. 1- computing pi, 2-computing square root, 3-displaying primes, 4-processing grades, 5-computing tax, 6-solving quadratic, 7-computing factorial, 8-counting file, 9-sorting file, 10- student file, 11-quit. The user enters an option number. Each option calls its function. If the function needs inputs then the menu program asks the user for inputs. If the function gives outputs then the menu program displays the outputs with appropriate messages. The menu program repeatedly displays the menu and asks for an option until the user quits

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

More Books

Students also viewed these Databases questions

Question

Describe the appropriate use of supplementary parts of a letter.

Answered: 1 week ago