## Hierarchy of Operators Revisited in C

Since we have now added the logical operators to the list of operators we know, it is time to review

## C Program to calculate the salary

Problem Statement: Write a program to calculate the salary as per the following table: Solution: /* C program to calculate salary

## write a C program to obtain the sum of the first and last digit of this number

Problem Statement: If a four-digit number is input through the keyboard, write a program to obtain the sum of the

## write a C program to calculate the sum of its digits

Problem Statement: If a five-digit number is input through the keyboard, write a program to calculate the sum of its

## Write a C program to interchange the contents of C and D

Problem Statement :  Two numbers are input through the keyboard into two locations C and D. Write a program to

## write a C program for Conversion of Temperature from Fahrenheit to Centigrade

Problem Statement: Temperature of a city in Fahrenheit degrees is input through the keyboard. Write a c program to convert