Programming Assignment
Programming Assignment
Basic Programs
1) Find the Area and Circumference of a Circle
2) Print ASCII Value of the Character
3) Find the Area of a Triangle, Rectangle, Square
4) Convert a Person's Name in Abbreviated
5) Calculate a Simple Interest and Compound Interest
6) Find the Gross Salary of an Employee
7) Calculate the Percentage of 5 Subjects
8) Convert Temperature Celsius into Fahrenheit
9) Program to Display the Size of the Different Data type
10) Display Size of the Different Data Type
If/Else/Switch-Case Programs
1) Program to Check Character Is Uppercase, Lowercase Alphabet or a Digit or
a Special Symbol
2) Find the Greatest Among Three Numbers
3) Checking You Are Eligible for Voting or Not
4) Program for Finding Greater Between Two Number
5) Checking Number is Even or Odd
6) Program to Check Leap Year or Not
7) Check Character Is a Vowel or Not
8) Given Date Month and the Year Is Correct or Not
9) Check whether a number is negative, positive or zero
10) Check whether a number is divisible by 5 and 11 or not
11) Input angles of a triangle and check whether the triangle is valid or not
12) Input all sides of a triangle and check whether the triangle is valid or not
13) Check whether the triangle is an equilateral, isosceles or scalene triangle
14) Find all roots of a quadratic equation
15) Temperature Conversion Celsius to Fahrenheit and Vice Versa
16) C Program to Find the Day
17) Program for Calculator
18) Find a Grade of Given Marks
19) Finding Radius, Circumference, and Volume of Cylinder
20) Print the month name corresponding to entered number by user.
Loops Programs
Patterns Programs
1) Home Pattern with Help of *
2) Diamond Star * Pattern
3) Left Half Diamond Star Pattern
4) Right Half Diamond Star Pattern
5) Hollow Diamond * Pattern
6) Pyramid Pattern Using Star *
7) Right Arrow Star Pattern
8) Left Arrow * Pattern
9) Pascal Triangle Using a Number
10) Christmas Tree Pattern Using *
1-D Array Programs
1) Insert and Delete an Element at Desired or Specific Position in an Array
2) C Program for Remove Duplicates Items
3) Delete Element from an Array at a Desired or Specific Position
4) Convert All Input String Simultaneously into an Asterisk *
5) Find a maximum and minimum element in an array
6) Print all negative elements in an array
7) Count the total number of even and odd elements in an array
8) Count the total number of negative elements in an array
9) Copy all elements from an array to another array.
10) Count frequency of each element in an array.
11) Print all unique elements in the array
12) Count the total number of duplicate elements in an array
13) Merge two arrays to the third array
14) Put even and odd elements of an array in two separate arrays
15) Search an element in an array