Sessions 1-6 Comprehensive Test
Total Time: 45 minutes | Total Points: 100
Data Types:
1. int
2. float
3. char
Format Specifiers:
A. %c
B. %d
C. %f
The program should ask for length and width, then display the area.
Write a complete C program that:
• Asks the user for their name
• Asks for two numbers
• Asks which operation they want (+, -, *, /)
• Performs the calculation
• Displays the result with the user's name
Your Score: --/100
Feedback will be provided by instructor