0

Develop a programme to perform following calculation using user defined functions

1.Addition 2. Subtraction 3. Multiplication 4. Division 5. Power 5. Factorial Once the program starts, it should display the list of calculation and ask user to enter an option. If the user enters ‘e’ or ‘E’ , the program exists. It is assumed that the calculations are performed on integer. Integer should be provide to the program in a single entry. Printing the list function of calculations to the screen should be performed by a function. Develop functions to perform each calculation in the list and their return can be an integer or a floating point number. Power and factorial calculations should be calculated using user defined recursive functions Once the answer is displayed to the user , the list of calculations should be displayed.

17th Sep 2018, 6:44 PM
Kodees
Kodees - avatar
1 Respuesta
0
showcase your attempt please
17th Sep 2018, 8:10 PM
hinanawi
hinanawi - avatar