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

## Presentation on theme: "X=0 x<5 “Hai” X=X+1 True False XX<5? Output FOR for(x=0;x<5;x++) { cout<<“Hai”; }"— Presentation transcript:

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Similar presentations