Drill 25: Summarise — Variables and operators
Summarise the example in one sentence.
What you will be able to do
- Summarise the example in one sentence.
Practice task
Summarise the example in one sentence.
#include <stdio.h>
#include <limits.h>
int main(void) {
int count = 7;
double price = 19.99;
char grade = 'A';
printf("count = %d\n", count);
printf("price = %.2f\n", price);
printf("grade = %c\n", grade);
printf("7 / 2 = %d\n", 7 / 2);
printf("7 %% 2 = %d\n", 7 % 2);
unsigned int big = UINT_MAX;
printf("UINT_MAX = %u\n", big);
printf("UINT_MAX + 1 = %u\n", big + 1);
return 0;
}Your turn
EasyWrite your answer
Summarise the example in one sentence.
TEXT · starter
Your answer…Study tools
Make it yours.
Keep a private note for this lesson, then turn the key ideas into flashcards you can revisit.
Sign in to save notes and flashcards.Both are private to your account and stay with your progress.
Sign inFinished reading?
Lock in what you just learned.
0%
Mark this lesson complete to save your place and move one step closer to the certificate.