CSE 101 ASSIGNMENT #3

$30.00

Category: You will Instantly receive a download link for .zip solution file upon Payment

Description

5/5 - (2 votes)

Write a C program that behaves as follows:

1- Your program will have a menu as follows:

%% WELCOME TO GTU CALCULATOR MACHINE %%
%% STUDENT NAME: HASAN ÖZTÜRK %%
%% PLEASE SELECT FROM THE FOLLOWING %%
%% MENU : %%
(1) ADD TWO NUMBERS
(2) SUBTRACT TWO NUMBERS
(3) MULTIPLY TWO NUMBERS
(4) DIVIDE TWO NUMBERS
(5) TAKE THE NTH POWER OF A NUMBER
(6) FIND AVERAGE OF NUMBERS INPUTTED
(7) FIND THE MAXIMUM OF NUMBERS INPUTTED
(0) EXIT
PLEASE SELECT:

2- You are required to implement above functions in your program.
3- As an hint, 5th item computes x power of y such as when 3 and 4 is entered 3*3*3*3 must be given as the result
4- Numbers are floating point numbers
5- 6 and 7th items will require inputting multiple values until a specific character is found.
6- You need to implement each menu using functions not in one single main program.