Download as pdf or txt
Download as pdf or txt
You are on page 1of 1

Fundamentals of C Programming

1. Write a C program to nd the greatest of three numbers.


2. Write a C program to calculate simple interest.
3. Write a C program to calculate factorial of a number.
4. Write a C program to print the sum of N natural numbers. (1+ 2 + …+N)
5. Write a C program to calculate the area of a circle using function.
6. Write a C program to calculate sum of digits of a number.
7. Write a C program to print the multiplication table.
8. Write a C program to nd the sum of N numbers stored in an array.
9. Write a C program to nd the number of characters in a string without using prede ned
function.
10. Write a C program to create a structure to store students information (Name, Roll number,
CGPA) and print them.
fi
fi
fi
fi

You might also like