1. Write a program that computes and prints the quotient and remainder of a division of two integers that are accepted from the keyboard with scanf.
2. Write a program that accepts the dimensions of a rectangle as an integer and floating point number and prints the area and perimeter.
3. Using the temperature-conversion formula C/5 = (F-32)/9, write a program that accepts a temperature (in decimal) in Fahrenheit and prints the converted temperature in Celsius without using a cast. Modify the program to use a cast and note your observations.
4. Write a program that accepts an integer from the keyboard and prints “ODD” or “EVEN” depending on its value.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here