This is to notify all students that all must take the print-outs of the
programs given as an attachment and get it checked by us on 13th August,2015.
LIST OF PROGRAMS FOR PRINTING
- Accept two integers from the user and interchange them. Display the interchanged numbers.
- Accept a character from the keyboard and display its previous and next character in order. Ex. If the character entered is‘d’, display “The previous character is c”, “The next character is e”.
- Accept a character from the user and display its ASCII value.
- Write a program, which accepts annual basic salary of an employee and calculates and displays the Income tax as per the following rules. ***
- Basic: < 1,50,000 Tax = 0
- 1,50,000 to 3,00,000 Tax = 20%
- > 3,00,000 Tax = 30%
- Accept a character from the user and check whether the character is a vowel or consonant. (Hint: a,e,i,o,u, A, E, I, O, U are vowels).
- Accept any year as input through the keyboard. Write a program to check whether the year is a leap year or not. (Hint leap year is divisible by 4 and not by 100 or divisible by 400)
- Accept a character from the keyboard and display its previous and next character in order. Ex. If the character entered is‘d’, display “The previous character is c”, “The next character is e”.
- Write a program to check whether given character is a digit or a character in lowercase or uppercase alphabet. (Hint ASCII value of digit is between 48 to 58 and Lowercase characters have ASCII values in the range of 97 to122, uppercase is between 65 and 90).
- Write a C program to convert a given character into uppercase & vice versa.
- Write a C program to covert temperature from Celsius to Fahrenheit.
- Write a C program to find maximum & minimum of three numbers.
- Write a program, which accepts two integers and an operator as a character (+ - * /), performs the corresponding operation and displays the result.
- Write a program having a menu with the following options and corresponding actions: Area of a Circle, Area of a Rectangle and Area of a Triangle.
- . Write a C Program to accept a four digit number from user and count zero, odd and even digits from the entered number.
- Write a C program to calculate the sum of digits of a given number.
- Write a C program to calculate Factorial of a given number.
- Write a C program to calculate sum of first and last digit of a given number
- Write a C program to calculate sum of Fibonacci series up to a given terms.
- Write a C program to calculate the x to the power y.
- Write a C program to display multiplication table of a given number.
- Write a C program to calculate the sum of first n even numbers.
- Write a C program to check whether a given number is palindrome or not.
- Write a C program to check whether given number is Armstrong or not.
- Write a C program to check whether given number is perfect or not.