Download presentation

Presentation is loading. Please wait.

Published byRebeca Malden Modified over 2 years ago

1
X=0 x<5 “Hai” X=X+1 True False XX<5? Output DO-WHILE x=0; do { cout<<“Hai”; x++; } while(x<5);

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Similar presentations

OK

Secret Signal … on your chest “1” if true “2” if false 2 3 = (2)(2)(2)

Secret Signal … on your chest “1” if true “2” if false 2 3 = (2)(2)(2)

© 2018 SlidePlayer.com Inc.

All rights reserved.

Ads by Google

Ppt on speed control of 3 phase induction motor Ppt on steve jobs biography for children Ppt on rocks and minerals Ppt on bluetooth technology Ppt on fast food industry in india Ppt on forest degradation in india Ppt on polarisation of light Ppt on effective leadership skills Download ppt on biomass power plant Ppt on railway reservation system project