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

100 C Program List

The document contains a list of 62 programming problems that involve writing C programs to perform various tasks like calculating areas and sums, evaluating expressions, checking conditions, displaying patterns, converting between numbering systems, and more. The problems are categorized by the main C concepts or techniques needed to solve them such as if/else statements, loops, functions, arrays, and others. A signature is included for a lab assistant to sign off after the programs have been executed.

Uploaded by

Kunal Koushik
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
464 views

100 C Program List

The document contains a list of 62 programming problems that involve writing C programs to perform various tasks like calculating areas and sums, evaluating expressions, checking conditions, displaying patterns, converting between numbering systems, and more. The problems are categorized by the main C concepts or techniques needed to solve them such as if/else statements, loops, functions, arrays, and others. A signature is included for a lab assistant to sign off after the programs have been executed.

Uploaded by

Kunal Koushik
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

INDEX

Signature of
Program Lab Assistant
S.No. Program Date
Type After
execution
1 Write a C program to calculate area and circumference of a circle.
2 Write a C program to find simple interest.
3 Write a C program to find addition of two numbers.
Write a C program to convert Fahrenheit temperature to Celsius
4

Simple C program
temperature.
5 Write a C program to find the area of triangle.
Write a C program to find the area and circumference of a
6
rectangle.
7 Write a C program to swap two variables.
Write a C program to swap two variables without using third
8
variable.
9 Write a C program to calculate the compound interest.
Write a C program to evaluate the following expression
10

Write a C program to find the largest number between the two


11
numbers using conditional operator. Conditional
operator
Write a C program to find the smallest number between the two
12
numbers using conditional operator.
Write a C program to find largest number among three numbers
13
using conditional operator.
Write a C program to find smallest number among three numbers
14
using conditional operator.
Write a C program to find the largest number between the two
15
numbers using if statement.
Write a C program to find the smallest number between the two
16
numbers using if statement.
if

Write a C program to find largest number among three numbers


17
using if statement.
Write a C program to find smallest number among three numbers
18
using if statement.
Write a C program to check whether two numbers are equal or
19
if else

not.
20 Write a C program to check whether a number is Even or Odd.
21 Write a C program to check whether a year is leap year.
Write a C program to check that a number is positive or negative
22
or zero.
If else ladder

Write a C program to print the grade according to the marks


secured by students.
Marks Grade
>=90 A
23 >=80 B
>=70 C
>=60 D
otherwise F
Write a C program to find the roots of a quadratic equation

If else ladder
24
ax2+bx+c = 0 for all possible combination of a, b and c.

Write a C program to find the value of y using if-else ladder.


1+x n=1
25 y= 1+x/n n=2
1+xn n=3
1+nx otherwise
Write a C program to implement simple calculator (addition,
26
subtraction, multiply, divide).

statement
Write a C program to check whether a character entered by the
27

switch
user is a vowel or not.
Write a C program to find the value of y using switch.
1+x n=1
28 y= 1+x/n n=2
1+xn n=3
1+nx otherwise
29 Write a C program to find the average of n number.

while loop
30 Write a C program to find the sum of digit of a integer number.
31 Write a C program to find the reverse of a integer number.
Write a C program to check whether the given number is an
32
Armstrong number.
Write a C program to find whether a integer number is palindrome
33
or not.
34 Write a C program find the factorial of number.
35 Write a C program check that a number is prime or not.
Write a C program to input a five digit positive number and then
for loop

display it as shown below.(Example number=24689)


24689
36 4689
689
89
9
Write a C program to display the pattern of n lines as follows.
(Example: n=4)
* * * *
37
* * * *
* * * *
Pattern & Pyramid

* * * *
38 Write a C program to display multiplication table up to n.
Write a C program to display the pattern of n lines as follows.
(Example: n=4)
*
* * *
39 * * * * *
* * * * * * *
Write a C program to display the pattern of n lines as follows.
(Example: n=4)
*
40
* *
* * *
* * * *
Write a C program to display the pattern of n lines as follows.
( Example: n=4)
*
* *
41 * * *
* * * *
Write a C program to display the pattern of n lines as follows.
( Example: n=4)
1
42
1 2
1 2 3
1 2 3 4
Write a C program to display the pattern of n lines as follows.
( Example: n=4)
1
43 2 3
4 5 6
7 8 9 10
Write a C program to display the pattern of n lines as follows.
( Example: n=4)
A
44
A B
A B C
A B C D
Write a C program to display the pattern of n lines as follows.
( Example: n=4) Pattern & Pyramid
A
45
B C
D E F
G H I J
Write a C program to display the pattern of n lines as follows.
( Example: n=4)
1
46
2 3 2
3 4 5 4 3
4 5 6 7 6 5 4
Write a C program to display the pattern of n lines as follows.
( Example: n=4)
1
47
1 2 1
1 2 3 2 1
1 2 3 4 3 2 1
Write a C program to display the pattern of n lines as follows.
( Example: n=4)
* * * * * * *
48
* * * * *
* * *
*
Write a C program to display the pattern of n lines as follows.
( Example: n=4)
* * * *
49 * * *
* *
*
Write a C program to display the pattern of n lines as follows.
( Example: n=4)
* * * *
50 * * *
* *
*
Write a C program to evaluate the series given below.
51

Write a C program to evaluate the series given below.


52

Series Sum
Write a C program to evaluate the series given below.
53
Write a C program to evaluate the series given below.
54
Write a C program to evaluate the series given below.
55
Write a C program to evaluate the series given below.
56
Write a C program to convert a binary number into a decimal
57
number.

loop&
array
Write a C program to convert a decimal number to a binary
58
number.
59 Write a C program to find the biggest number out of n numbers.
60 Write a C program to find out perfect number.
61 Write a C program to find addition of two number using function.
& call by
Function

62 Write a C program to find area of triangle using function.


value

Write a C program to find sum of digit of integer number using


63
function.
64 Write a C program to calculate nCr using function.
65 Write a C program to find the factorial of number using recursion.
recursion

66 Write a C program to compute xn using recursion.


Write a C program to print the Fibonacci series up to n term using
67
recursion.
Write a C program to find Greatest Common divisor (GCD) using
68
recursion.
Write a C program to print the content of the array in reverse
69
1-D array

order.
Write a C program to find print the marks that are greater than
70
average marks.
71 Write a C program for sequential search.
72 Write a C program for bubble sort.
Write a C program to find the sum of all the elements of the
2-D array & matrix

73
matrix.
74 Write a C program to find the sum of diagonal element of matrix.
75 Write a C program to find the transpose of a matrix.
Write a C program to find the addition or subtraction two of
76
matrix.
77 Write a C program to find the multiplication of two matrixes.
78 Write a C program to find the norm of matrix.
79 Write a C program to check that a matrix symmetric or not.
Write a C program to for the addition of two number using
80

pointer
pointers.
Write a C program to for finding greater number between two
81 number using pointers.

82 Write a C program to swap two variables using function.

reference
& call by
pointer
Write a C program to swap two variables without using third
83
variable using function.
Write a C program to increase the value of two variables by 10
84
using function.
Write a C program for storing the grade, basic and salary n
85
employee.
Declare a structure of student with detail roll no, student name and

Structure
86 total marks. Write a program in c to read detail of n students and
prints the list of students who have secured 75% marks and above.
Define a structure called cricket that will describe player name,
team name and batting average. Using cricket, declare an array
87 player with 50 elements and write a program to read the
information about all the 50 players and print team wise list
containing names of players with their batting average.
Write a C program to count the occurrence of particular character
88
in a given string.
Write a C program to count number of vowels present in a
89
sentence.
90 Write a C program to test whether a given string is a palindrome.
91 Write a C program to concatenate two strings. String
Write a C program to compare two strings which are given as
92
input through key board and print alphabetically greater string.
Write a C program to convert a line in the lower case text to upper
93
case text.
Write a C program to read a string and rewrite it in the
94
alphabetical order.(STRING will be written as GINRST)
Write a C program to count the number of line, words and
95
character in a given text.
Write a C program to create a text file and write some text and
96
close.
Write a C program to read the text of a file and also count the
97
number of vowels present in the file.
98 Write a C program to copy the content one file to another file.
File

A file called “STUDENT.DAT” contains information such as


student roll number, name and total marks. Write a C program to
99
create a file to store detail of n student on disk and also display the
detail.
Write a C program to take ten integers from a file and write square
100
of those integer into another.

(Signature of Faculty)

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy