Section 4.2 Simple Calculations
Simple calculations are straight-forward to perform in C with results easily printed to the screen. We’ll learn how this is done in the next Codecast:
If you cannot see this codecast, please click here.
Check Your Understanding Check Your Understanding
1.
Please complete the code below so that it prints the following computation to the screen:
5*8+2*8 = (5+2)*8 = 56
admin.....open in new window
When your program performs correctly you’ll be given a keyword to enter in Canvas. Please enter the keyword exactly as given to you (without the quotation marks).