0% found this document useful (0 votes)
8 views

C Language Program

The document lists programming problems and exercises involving different programming concepts in C language. It includes problems on matrix addition, checking strong, prime and leap years numbers, sorting arrays, Armstrong numbers, ASCII values, perfect numbers, counting vowels/consonants in strings, converting numbers, calculating factorials and Fibonacci series, checking palindromes, defining and using structures for students, books, and storing records of multiple students.

Uploaded by

Aamir Shahzad
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
8 views

C Language Program

The document lists programming problems and exercises involving different programming concepts in C language. It includes problems on matrix addition, checking strong, prime and leap years numbers, sorting arrays, Armstrong numbers, ASCII values, perfect numbers, counting vowels/consonants in strings, converting numbers, calculating factorials and Fibonacci series, checking palindromes, defining and using structures for students, books, and storing records of multiple students.

Uploaded by

Aamir Shahzad
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

Programs

1. Write a Program that adds the values of Two Matrix in


third Matrix (Addition of two Matrix in C)?
2. Write a program to check Strong number or Not in C
language?
3. Write a Program to check Prime or Not in C language?
4. Write a program for printing a Right Triangle in C
language?
5. Write a Program to check Leap year in C?
6. Write a Program that Sorting an Array using Selection Sort
(in Ascending or descending Order)?
7. Write a Program to Check Armstrong Number in C?
8. Write a Program to find an ASCII VALUE Of a Character in
C?
9. Write a Program to Check Perfect Number in C?
10. Write a Program that finding Number of Vowels,
Consonants, words in a string?
11. Write a Program to convert any Number into Decimal
number?
12. Write a program that take a number from user and
display its factorial.
13. Write a program that a number from user and display
Fibonacci series.
14. Write a program that input 5-digit no and checks whether
it is palindrome or not.
Structure
15. Write a program that declares a structure Student with
data member, roll no and age. Create two variables of structure,
accept values and find average age of these two students and
display average.
16. Write a program to make a structure book that take book
no., book name, book author name from user and display on
screen.
17. Write a progarm that declares a structure Student to store
roll no(int), name(string) and cgpa(float) program defines an
array to store record of five students and then display record.

You might also like