C Programming Important Questions
C Programming Important Questions
Sample Output:
Numbers are = 60, 61, 62, 64, 65, 66, 67, 68, 69, 70
5. Write a program using function to calculate the simple interest. Suppose the customer
is a senior citizen. He is being offered 12 percent rate of interest; for all other
customers, the ROI is 10 percent.
Sample Input:
Enter the principal amount: 200000
Enter the no of years: 3
Is customer senior citizen (y/n): n
Sample Output:
Interest: 60000
6. Write a program for matrix Multiplication?
Sample Input:
Mat1 = 1 2
5 3
Mat2 = 2 3
4 11
Sample Output:
Mat Mul = 10 25
22 48
7. Write a program to print the number of vowels in the given statement?
Sample Input:
Saveetha School of Engineering
Sample Output:
Number o vowels = 12