C Tutorial Basic Questions
C Tutorial Basic Questions
2. Write a program that takes an integer as input and prints the same integer.
4. Write a program that takes three floating-point numbers as input and prints their average.
5. Write a program that takes a character as input and prints it back to the user.
6. Write a program to take a user's name and age as input and print: "Hello <name>, you are <age>
years old."
7. Write a program that takes an integer as input and prints its square.
8. Write a program to input two integers and print both their sum and product.
9. Write a program to input a temperature in Celsius and print the equivalent temperature in
Fahrenheit.