Fundamentals
of Programming Languages
1. Write a C program to accept five numbers from console and then to display them back on console in ascending order.
2. Write a C program to calculate the sum of all numbers from 0 to 100 (both inclusive) that are divisible by 4.
3. Write a C program to accept the length of three sides of a triangle from console and to test and print the type of triangle – equilateral, isosceles, right angled, none of these.
9.
Write
a program in C to compute the GCD of the given two integers
10.
Write
a program in C to compute the factorial of the given positive integer using
recursive function.
13.
Write
a program in C to compute addition/subtraction/multiplication of two matrices.
Use functions to read, display and add/subtract/multiply the matrices.
No comments:
Post a Comment