Welcome to Scribd. Sign in or start your free trial to enjoy unlimited e-books, audiobooks & documents.Find out more
Download
Standard view
Full view
of .
Look up keyword
Like this
0Activity
0 of .
Results for:
No results containing your search query
P. 1
chapter7.5-7.14 (1)

chapter7.5-7.14 (1)

Ratings: (0)|Views: 1|Likes:
Published by Alex Coven
a
a

More info:

Published by: Alex Coven on Sep 03, 2013
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PPTX, PDF, TXT or read online from Scribd
See more
See less

09/04/2013

pdf

text

original

 
C
HAPTER
7
Common If Statement Errors, Else-If, Switch
 
printf 
(“What grade are you in?”);
 scanf 
(“%d”, &grade);
 if(6 <= grade <= 8)printf 
(“You can go to the camp!
\
n”);
 elseprintf 
(“Sorry, you cannot go to the camp.
\
n”);
 
 
C
OMPOUND
E
XPRESSIONS
 
printf 
(“What grade are you in?”);
 scanf 
(“%d”, &grade)
 if(
6 <= grade && grade <= 8
)printf 
(“You can go to the camp!
\
n”);
 elseprintf 
(“Sorry, you cannot go to the camp.
\
n”);
 

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->