0% found this document useful (0 votes)
12 views90 pages

Gautam Pandit - Assignment (1)

The document contains a list of 63 C programming exercises, each with a specific task such as printing characters, checking number properties, calculating factorials, and converting between number systems. Each program is designed to help learners practice and understand various programming concepts and algorithms. The tasks range from basic to more complex operations involving loops, recursion, and mathematical calculations.

Uploaded by

guptamayank50443
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)
12 views90 pages

Gautam Pandit - Assignment (1)

The document contains a list of 63 C programming exercises, each with a specific task such as printing characters, checking number properties, calculating factorials, and converting between number systems. Each program is designed to help learners practice and understand various programming concepts and algorithms. The tasks range from basic to more complex operations involving loops, recursion, and mathematical calculations.

Uploaded by

guptamayank50443
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/ 90

Program-1

➔ Write a C program to print from A to Z & a to z.

~4~
Program-2
➔ Write a C program to find if a number is Odd or Even.

~5~
Program-3
➔ Write a C program to check whether the year is Leap or not.

~6~
Program-4
➔ Write a program to find Factorial of a number.

~7~
Program-5
➔ Write a program to print the Fibonacci series.

~8~
Program-6
➔ Write a C program to check whether a number is Prime or not.

~9~
Program-7
➔ Write a C program to check whether a number is a Palindrome
or not.

~10~
Program-8
➔ Write a C program to print Pascal’s Triangle.

~11~
Program-9
➔ Write a C program to find perfect numbers.

~12~
Program-10
➔ Write a C program to find Armstrong number.

~13~
Program-11
➔ Write a C program to find Strong number.

~14~
Program 12
➔ Write a C program to find Neon number.

~15~
Program-13
➔ Write a C program to find Automorphic number.

~16~
Program-14
➔ Write a C program to print the Floyd Triangle

~17~
Program-15
➔ Write a C program to find L.C.M. / H.C.F. – G.C.D. of a given
number

~18~
Program-16
➔ Write a C program to find value of I.,V.,R. (Ohm’s Law)

~19~
Program-17
➔ Write a C program to find the value of speed, time, distance.

~20~
Program-18
➔ Write a C program to find value of nCr & nPr.

~21~
Program-19
➔ Write a C program to find the power of a given number.

~22~
Program-20
➔ Write a C program for company bonus on salary.

~23~
Program-21
➔ Write a C program for gross salary from given basic pay.

~24~
Program-22
➔ Write a C program to find area of given geometrical shape.
AREA: triangle, square, circle, rectangle, parallelogram, rhombus, equilateral
triangle, pentagon, hexagon, heptagon, octagon, trapezoid.

~25~
~26~
~27~
~28~
Program-23
➔ Write a C program to find volume of given geometrical shape.
VOLUME: sphere, hemisphere, cone, cuboid.

~29~
~30~
Program- 24
➔ Write a C program to find roots of quadratic equations.

~31~
~32~
Program-25
➔ Write a c program to find sum of the following series.
1+1/2+1/3+1/4….1/N

~33~
Program-26
➔ Write a c program to find sum of the following series.
1/1!+2/2!+3/3!+4/4!....+N/N!

~34~
Program-27
➔ Write a c program to find sum of the following series.
1^2+2^2+3^2+4^2….N^2

~35~
Program-28
➔ Write a c program to find sum of the following series.
1^2-2^2+3^2-….+N^2

~36~
Program-29
➔ Write a c program to find sum of the following series.
1^1/1!+2^2/2!+3^3/3!....UPTO N TERMS.

~37~
Program-30
➔ Write a c program to find sum of the following series.
(1+(1+2)+(1+2+3)+(1+2+3+4)+….. TILL N).

~38~
Program-31
➔ Write a c program to find sum of the following series.
(1+(1*2)+(1*2*3)+(1*2*3*4)+…. TILL N ).

~39~
Program-32
➔ Write a c program to convert from binary to decimal.

~40~
Program-33
➔ Write a c program to convert from binary to hexadecimal.

~41~
~42~
Program-34
➔ Write a c program to convert from binary to octal.

~43~
~44~
Program-35
➔ Write a C program to convert from binary to roman.

~45~
~46~
Program-36
➔ Write a c program to convert from decimal to binary.

~47~
Program-37
➔ Write a c program to convert from decimal to hexadecimal.

~48~
~49~
Program-38
➔ Write a c program to convert from decimal to octal.

~50~
Program-39
➔ Write a c program to convert from decimal to roman.

~51~
~52~
Program-40
➔ Write a c program to convert from hexadecimal to decimal.

~53~
~54~
Program-41
➔ Write a c program to convert from hexadecimal to binary.

~55~
~56~
Program-42
➔ Write a c program to convert from hexadecimal to octal.

~57~
~58~
~59~
Program-43
➔ Write a c program to convert from hexadecimal to roman.

~60~
~61~
~62~
Program-44
➔ Write a c program to convert from octal to binary.

~63~
~64~
Program-45
➔ Write a c program to convert from octal to hexadecimal.

~65~
~66~
~67~
Program-46
➔ Write a c program to convert from octal to decimal.

~68~
~69~
Program-47
➔ Write a c program to convert from octal to roman.

~70~
~71~
Program-48
➔ Write a c program to convert from roman to binary.

~72~
~73~
~74~
Program-49
➔ Write a c program to convert from roman to decimal.

~75~
~76~
Program-50
➔ write a c program to convert from roman to hexadecimal.

~77~
~78~
Program-51
➔ write a c program to convert from roman to octal.

~79~
~80~
Program-52
➔ write a c program to convert from Celsius to Fahrenheit.

~81~
Program-53
➔ write a c program to convert from Fahrenheit to Celsius.

~82~
Program-54
➔ write a c program to check if repeated digit are there using
Recursion.

~83~
Program-55
➔ write a c program to print sum of even number in array using
Recursion.

~84~
Program-56
➔ write a c program on if statement.

~85~
Program-57
➔ write a c program on if-else statement

~86~
Program-58
➔ write a c program on Nested-if-else statement

~87~
Program-59
➔ write a c program on if-else ladder

~88~
Program-60
➔ write a c program on GOTO statement.

~89~
Program-61
➔ write a c program on switch statement.

~90~
~91~
Program-62
➔ write a c program on for loop statement.

~92~
Program-63
➔ write a c program on while loop statement.

~93~

You might also like