Presentasi sedang didownload. Silahkan tunggu

Presentasi sedang didownload. Silahkan tunggu

Mulai Baca x S=x%2 S=0 “Genap” Selesai Yes No XSS=0?Output main() { int x,s; cin>>x; s=x%2; if(s==0) { cout<<“Genap”; } else { cout<<“Gasal”; } “Gasal”

Presentasi serupa


Presentasi berjudul: "Mulai Baca x S=x%2 S=0 “Genap” Selesai Yes No XSS=0?Output main() { int x,s; cin>>x; s=x%2; if(s==0) { cout<<“Genap”; } else { cout<<“Gasal”; } “Gasal”"— Transcript presentasi:

1 Mulai Baca x S=x%2 S=0 “Genap” Selesai Yes No XSS=0?Output main() { int x,s; cin>>x; s=x%2; if(s==0) { cout<<“Genap”; } else { cout<<“Gasal”; } “Gasal”

2 Mulai Baca x XSS=0?Output X=5 5

3 Mulai Baca x S=x%2 X=5 XSS=0?Output 5 1

4 Mulai Baca x S=x%2 S=0 X=5 XSS=0?Output 5 1 No

5 Mulai Baca x S=x%2 S=0 Selesai Yes No “Gasal” X=5 XSS=0?Output 5 1 No Gasal

6 Mulai Baca x X=4 XSS=0?Output 4

7 Mulai Baca x S=x%2 X=4 XSS=0?Output 4 0

8 Mulai Baca x S=x%2 S=0 X=4 XSS=0?Output 4 0 Yes

9 Mulai Baca x S=x%2 S=0 “Genap” Selesai Yes X=4 XSS=0?Output 4 0 Yes Genap


Download ppt "Mulai Baca x S=x%2 S=0 “Genap” Selesai Yes No XSS=0?Output main() { int x,s; cin>>x; s=x%2; if(s==0) { cout<<“Genap”; } else { cout<<“Gasal”; } “Gasal”"

Presentasi serupa


Iklan oleh Google