{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

ch4 - Ch4 h 4.1 4.2 4.3 4.4 4.5 4.6 X h h h ch h ch 4.1 C h...

Info iconThis preview shows pages 1–9. Sign up to view the full content.

View Full Document Right Arrow Icon
Ch4 h c h 4.1 c h 4.2 h 4.3 4.4 h 4.5 h 4.6 h
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
4.1 C h h . h :c S p , b , ð=À¬ p . Ô ´ ³ ÌÐ ò Πļ þ 1 . . . Ó è ± àÒ ëà üÁ î . Ë µÃ ÷ ² ¿ · Ö . Ö ´Ð Ð ² ¿ · Ö . £ ¨Ó ï¾ ä £ © . º ¯Ê ý1 . º ¯Ê ýn Ô ´ ³ ÌÐ ò Πļ þ i . . Ô ´ ³ ÌÐ ò Πļ þ n . . . . c ³ ÌÐ ò
Background image of page 2
. h c S p h . h : 1. h : (1) if ( ) ~else~ h (2) for ( )~ h (3) while ( ) ~ h (4) do ~ while( ) h (5)continue
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
(6) break h switchN 7 (7) switch N7 p (8) go to h (9) return N7 p ˜ñ=À¬* p oz ~ A·ª* if ~else~ N7 p if h x>y) z=x;else z=y; 2.N7 p : S p h . : printf(“This is a C stetment.”);
Background image of page 4
3. S p a=3 h i++ Sp a=3 h i++ h 4. h : = Ip . ; 5. h :ozp , C . h :{a=a+1; b=a; c=b+a ; }
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
4.2 h h 1 h =” 2 7 , A 7 . (2) S . h : if((a=b)>0) t=a; P7 : a=b x=4 h : a=b; x=4; P7 p a=b) 2 p a=b; h . a=b h .
Background image of page 6
4.3 % h %B7 #include “stdio.h” h #include <stdio.h> printf h scanf h getchar h putchar h
Background image of page 7

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
4.4 h cS p 7p c h S p h .putchar h ( 7 p ): : . h #include “stdio.h” h stdio.h . : putchar (c); 7 p c h .
Background image of page 8
Image of page 9
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}