C Prog
Lot's of example here for you.....
Basic Program
- Hello World
- Program to Print an Integer
- Program to Add Two Integer
- Program to Multiply Two Number
- C Program to Find ASCII Value of Character
- C Program to Compute Quotient and Remainder
- Find the Size of Float, int, double and char
- C Program to Demonstrate the Working of Keyword Long
- C Program to Swap Two Numbers
- Find the Perimeter and Area of Rectangle
- C Program to convert temperature from celsius to fahrenheit
- C Program to convert temperature from fahrenheit to celsius
- C Program to convert days into years, weeks and days
- C Program to find power of any number
- C Program to enter any number and Calculate its Square Root
- C Program to Find the Third Angle of Triangle
- C Program to Calculate Area of an Equilateral Triangle
- C Program to Find Total, Average and Percentage Marks of Subjects
- C Program to Calculate Simple Interest
- C Program to Calculate Compound Interest
- C Program to Check Whether a Number is Even or Odd
- C Program to Check Whether a Character is Vowel or Consonant
- C Program to Find the Largest Number Among Three Numbers
- C program to Find all Roots of a Quadratic equation
- C Program to Check Leap Year
If Else Programming
- WAP to input two number and Find maximum between two.
- WAP to input three number and FInd the maximum between three.
- WAP to input any number and Check whether it is Even or Odd.
- WAP to input any number and check whether it is negative, positive or zero.
- WAP to input an number and check whether it is divisible by 3 and 5 or not
- WAP to count total number of notes in given amount
- WAP to input any character and check whether it is alphabet, or not
- WAP to check whether a character is Uppercase or Lowercase alphabet
- WAP to input week number and print week day name.
- WAP to input month number and print number of days in that month
- WAP to input angle of Triangle and check whether triangle is valid or not
- WAP to input all side of triangle and check whether triangle is Equilateral, Isosceles or Scalene Triangle
Conditional/Ternary Programming
- WAP to find maximum between two numbers using conditional/ternary operator.
- WAP to find maximun three numbers using conditional/ternary operator.
- WAP to check whether numbers is even or odd using conditional/ternary operator.
- WAP to check whether year is leap year or not using conditional/ternary operator.
- WAP to check whether character is an alphabet or not using conditional/ternary operator.
Loop Programming
- WAP to print all natural numbers from 1 to n using while loop.
- WAP to print all natural numbers in reverse from n to 1 using while loop.
- WAP to print all alphabets from a to z.
- WAP to print all even numbers between 1 to 100 using while loop.
- WAP to print all odd number between 1 to 100 using while loop.
- WAP to print sum of all even numbers and odd number between 1 to n.
- WAP to print table of any number using for loop.
- WAP to enter any number and calculate sum of its digits.
- WAP to enter any number and calculate product of its digits.
- WAP to enter any number and calculate sum of all natural numbers between 1 to n.
- WAP to enter any number and find its last digit.
- WAP to enter any number and print its reverse.
- WAP to enter any number and check whether the number is palindrome or not.
- WAP to enter any number and print it in words.
- WAP to print all ASCII character with their values.
- WAP to find power of any number using for loop.
- WAP to enter any number and find the sum of first and last digit of the number.
- WAP to enter any number and print all factors of the number.
- WAP to enter any number and calculate its factorial.
- WAP to find HCF(GCD) of two numbers.
- WAP to find LCM of two numbers.
- WAP to enter any number and check whether it is prime number or not.
- WAP to enter any number and whether it is Armstrong number or not.
- WAP to enter any number and check whether it is perfect number or not.
- WAP to enter any number and check whether it is Strong number or not.
- WAP to print all Prime numbers between 1 to n.
- WAP to print all Armstrong numbers between 1 to n.
- WAP to print all Perfect number between 1 to n.
- WAP to print all Strong numbers between 1 to n.
- WAP to find all factor of a number
- WAP to find sum of all prime numbers between 1 to n.
- WAP to print fibonacci series up to n terms.
- WAP to find one's complement of a binary number.
- WAP to find two's complement of a binary number.
- WAP to convert Binary to Octal number system.
- WAP to convert Binary to Decimal number system.
- WAP to convert Binary to Hexadecimal number system.
- WAP to convert Decimal to Binary number system.
- WAP to convert Decimal to Octal number system.
- WAP to convert Hexadecimal to Decimal number system.
Comments
Post a Comment