1.

Write a program to accept a 5 digits number using the concept of function argument of main ( ) method and find out the sum of first digit, middle digit and last digit of that 5 digit number. Display the results with proper message. Example: N = 10238 Sum is 1 + 2 + 8 = 11

Answer» GIVEN a five digit number N. The task is to FIND the last five digits of the given number raised to the power of 5 after MODIFYING it by arranging the digits as:


Discussion

No Comment Found