



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




Components of a Computer
Variables •^
See text p.22 for rules for variablenames
-^
sum
-^
result
-^
colorchar
-^
may also initialize values
C basic types •^
int sum =
float result =
char colorchar =
int -
%i or %d
float and double -
%f
(or %e for scientific notation)
%lf
char -
%c