Assignment II - Basic 'C'
Assignment II
Write a ‘C’ program to calculate the sum of factors of anumber.
Write a recursive function in ‘C’ to calculate factorialof a number. Use this function in main.
Write a function in ‘C’ to reverse an integer. Use thisin main
Write a function in ‘C’ to calculate sum of digits of aninteger. Use this function in main.
Write a ‘C’ program to display n terms of the Fibonacciseries.
Write a ‘C’ program to display n lines of the following pattern.
Write a ‘C’ program to calculate the GCD of two numbers.
Write a ‘C’ program to check whether the given year is leap year or not.
Write a ‘C’ program to check if a number is perfect (number = sum of its factors)
Comments
Post a Comment
Please do not enter any spam link in message.