Using the concept of function overloading write a program with function calculate()
i) void calculate(int N) -To find and display all the factors of a number input by the user (including 1 and excluding the number itself). Example: Sample input: N =15 Sample output: 1,3,5
ii) void calculate(int X , int Y) – to calculate and print the average of all numbers between X and Y. Assume that Y is greater than X.
iii) void calculate(double M , double N , double P) – to print the smallest of the three numbers M,N,P.
PLEASE GIVE A PROPER STEP BY STEP SOLUTION FOR THE GIVEN PROGRAM.
Answers
Answered by
0
Answer:
Play ff one mach the missing number is neither prime nor even though I
Answered by
0
Answer:
Play ff one mach the missing number is neither prime nor even though
Explanation:
PLS MARK ME AS A BRAINLIST
Similar questions