OPERATORS

12 programming challenges to help you master the fundamentals of C LANGUAGE.

1

Write a program to show that example of pre-increment ?

2

Write a program to show that example of post-increment ?

3

Write a program to show that example of pre-decrement ?

4

Write a program to show that example of post-decrement ?

5

Write a program to enter 2 numbers from user add the number and show the answer , again take 2 number from user subtract the number display the answer ,again take 2 number from user multiply the number display the answer and ,again take 2 number from the user divide the number display the answer ,again take 2 number find the remainder and display the answer ?

6

Write a program to enter a number from the user ,the length of the number is depend on the user ,programmer should print the last digit of number ?

7

Enter a decimal number from the user (float) and print the right hand side of the decimal point ?

8

Enter a number from user and find out cube of numbers ?

9

Enter float number from user and round of the number ?

10

Enter a lower case character from user and print it into upper case ?

11

Enter marks of students and calculate average of student’s marks ?

12

Calculate simple interest = (P x R x T)/ 100