Problem 1: Write a C program that takes basic salary from the user and displays the total salary. If the salary is greater or equal to 20,000 then add bonus of 10% into basic salary and if the salary is greater or equal to 30,000 then add bonus of 15%.
Problem 2: Write a C program that reads in three integers and then determines and print the largest and smallest integer among them.
Problem 3: What, if anything, prints when each of the following statements is performed? If nothing prints, then answer "Nothing".
Assume x= 5 and y =7
1) printf("%d", x );
2) printf("%d", x+y );
3) printf( " x= " );
4) printf("%d = %d", x+y , y+x );
5) //printf("y - x = %d" , y-x);
6) printf("\n\a");
7) z= y-x ;