Find the fourth proportion of 48, 72 and 24. code example

Example 1: Find the fourth proportion of 48, 72 and 24.

Print the sum up to  N number if the given N is EVEN print the Even numbers sum .If the given N is odd print the Odd Sum.Identify the Error in the given Program and ModifySample Input:30Sample Output:240

Example 2: Find the fourth proportion of 48, 72 and 24.

Program to calculate the GCD of two numbersIdentify the error in the program and Modify.Sample Input:12 24Sample Output:12

Example 3: Find the fourth proportion of 48, 72 and 24.

Print the Sum of N numbers Using RecursionIdentify the Error in the Program and modifySample Input:5Sample Output:15

Tags:

Misc Example