Download presentation

Presentation is loading. Please wait.

Published byCelina Ashfield Modified about 1 year ago

1
X=0 x<5 “Hai” X=X+1 True False XX<5? Output FOR for(x=0;x<5;x++) { cout<<“Hai”; }

2
XX<5? Output 0 X=0 x<5 “Hai” X=X+1 True False

3
XX<5? Output 0 True X=0 x<5 “Hai” X=X+1 True False

4
XX<5? Output 0TrueHai X=0 x<5 “Hai” X=X+1 True False

5
XX<5? Output 0TrueHai 1 X=0 x<5 “Hai” X=X+1 True False

6
X=0 x<5 “Hai” X=X+1 True False XX<5? Output 0TrueHai 1True

7
X=0 x<5 “Hai” X=X+1 True False XX<5? Output 0TrueHai 1TrueHai

8
X=0 x<5 “Hai” X=X+1 True False XX<5? Output 0TrueHai 1TrueHai 2

9
X=0 x<5 “Hai” X=X+1 True False XX<5? Output 0TrueHai 1TrueHai 2True

10
X=0 x<5 “Hai” X=X+1 True False XX<5? Output 0TrueHai 1TrueHai 2TrueHai

11
X=0 x<5 “Hai” X=X+1 True False XX<5? Output 0TrueHai 1TrueHai 2TrueHai 3

12
X=0 x<5 “Hai” X=X+1 True False XX<5? Output 0TrueHai 1TrueHai 2TrueHai 3 True

13
X=0 x<5 “Hai” X=X+1 True False XX<5? Output 0TrueHai 1TrueHai 2TrueHai 3 True Hai

14
X=0 x<5 “Hai” X=X+1 True False XX<5? Output 0TrueHai 1TrueHai 2TrueHai 3 True Hai 4

15
X=0 x<5 “Hai” X=X+1 True False XX<5? Output 0TrueHai 1TrueHai 2TrueHai 3 True Hai 4True

16
X=0 x<5 “Hai” X=X+1 True False XX<5? Output 0TrueHai 1TrueHai 2TrueHai 3 True Hai 4TrueHai

17
X=0 x<5 “Hai” X=X+1 True False XX<5? Output 0TrueHai 1TrueHai 2TrueHai 3 True Hai 4TrueHai 5

18
X=0 x<5 “Hai” X=X+1 True False XX<5? Output 0TrueHai 1TrueHai 2TrueHai 3 True Hai 4TrueHai 5 False

Similar presentations

© 2016 SlidePlayer.com Inc.

All rights reserved.

Ads by Google