Problem:- Write a C program which can input an integer number and display all factor. Also display the summation of even and odd factor and their difference . as exmple, if input is 8 the output should be factor=1,2,4,8 even sum=14, odd sum=1 and difference is 13.
Solve:-
Output:-
No comments:
Post a Comment