Title: Feb 1210:51 AM (1 of 13) Did in...
Transcript of Title: Feb 1210:51 AM (1 of 13) Did in...
![Page 1: Title: Feb 1210:51 AM (1 of 13) Did in class.cisweb.bristolcc.edu/~pgrocer/audio_smartboardS19/CIS120/...Ifyou bought the optional text: read chapter 1 (you might note that at Amazon](https://reader036.fdocuments.in/reader036/viewer/2022070822/5f25789c27e0245c840f69ba/html5/thumbnails/1.jpg)
Reading for chapter 1 if you do not have the book.
Did in class.
Title: Feb 1210:51 AM (1 of 13)
![Page 2: Title: Feb 1210:51 AM (1 of 13) Did in class.cisweb.bristolcc.edu/~pgrocer/audio_smartboardS19/CIS120/...Ifyou bought the optional text: read chapter 1 (you might note that at Amazon](https://reader036.fdocuments.in/reader036/viewer/2022070822/5f25789c27e0245c840f69ba/html5/thumbnails/2.jpg)
Title: Feb 1211:04 AM (2 of 13)
![Page 3: Title: Feb 1210:51 AM (1 of 13) Did in class.cisweb.bristolcc.edu/~pgrocer/audio_smartboardS19/CIS120/...Ifyou bought the optional text: read chapter 1 (you might note that at Amazon](https://reader036.fdocuments.in/reader036/viewer/2022070822/5f25789c27e0245c840f69ba/html5/thumbnails/3.jpg)
Title: Feb 1211:15 AM (3 of 13)
![Page 4: Title: Feb 1210:51 AM (1 of 13) Did in class.cisweb.bristolcc.edu/~pgrocer/audio_smartboardS19/CIS120/...Ifyou bought the optional text: read chapter 1 (you might note that at Amazon](https://reader036.fdocuments.in/reader036/viewer/2022070822/5f25789c27e0245c840f69ba/html5/thumbnails/4.jpg)
Answer for second one. Istrongly suggest everyone trythese on your own.
Title: Feb 1211:37 AM (4 of 13)
![Page 5: Title: Feb 1210:51 AM (1 of 13) Did in class.cisweb.bristolcc.edu/~pgrocer/audio_smartboardS19/CIS120/...Ifyou bought the optional text: read chapter 1 (you might note that at Amazon](https://reader036.fdocuments.in/reader036/viewer/2022070822/5f25789c27e0245c840f69ba/html5/thumbnails/5.jpg)
Title: Feb 1211:54 AM (5 of 13)
![Page 6: Title: Feb 1210:51 AM (1 of 13) Did in class.cisweb.bristolcc.edu/~pgrocer/audio_smartboardS19/CIS120/...Ifyou bought the optional text: read chapter 1 (you might note that at Amazon](https://reader036.fdocuments.in/reader036/viewer/2022070822/5f25789c27e0245c840f69ba/html5/thumbnails/6.jpg)
The if shows the conditon. If the condition is true you will execute the code between the if and the else. If the condition is false you go to the else and execute the code between the else and the end if. The line ct=ct+1 is outside the if and will be executed after the if and then the end do will send you back to the do while to test again.
Title: Feb 1211:56 AM (6 of 13)
![Page 7: Title: Feb 1210:51 AM (1 of 13) Did in class.cisweb.bristolcc.edu/~pgrocer/audio_smartboardS19/CIS120/...Ifyou bought the optional text: read chapter 1 (you might note that at Amazon](https://reader036.fdocuments.in/reader036/viewer/2022070822/5f25789c27e0245c840f69ba/html5/thumbnails/7.jpg)
In this example do whilestarts the loop and end doends the loop
Title: Feb 1211:58 AM (7 of 13)
![Page 8: Title: Feb 1210:51 AM (1 of 13) Did in class.cisweb.bristolcc.edu/~pgrocer/audio_smartboardS19/CIS120/...Ifyou bought the optional text: read chapter 1 (you might note that at Amazon](https://reader036.fdocuments.in/reader036/viewer/2022070822/5f25789c27e0245c840f69ba/html5/thumbnails/8.jpg)
Looking at set, check and change for the loop in the first problem.
Title: Feb 1212:00 PM (8 of 13)
![Page 9: Title: Feb 1210:51 AM (1 of 13) Did in class.cisweb.bristolcc.edu/~pgrocer/audio_smartboardS19/CIS120/...Ifyou bought the optional text: read chapter 1 (you might note that at Amazon](https://reader036.fdocuments.in/reader036/viewer/2022070822/5f25789c27e0245c840f69ba/html5/thumbnails/9.jpg)
Title: Feb 1212:08 PM (9 of 13)
![Page 10: Title: Feb 1210:51 AM (1 of 13) Did in class.cisweb.bristolcc.edu/~pgrocer/audio_smartboardS19/CIS120/...Ifyou bought the optional text: read chapter 1 (you might note that at Amazon](https://reader036.fdocuments.in/reader036/viewer/2022070822/5f25789c27e0245c840f69ba/html5/thumbnails/10.jpg)
Looking at the assignment
Title: Feb 1212:10 PM (10 of 13)
![Page 11: Title: Feb 1210:51 AM (1 of 13) Did in class.cisweb.bristolcc.edu/~pgrocer/audio_smartboardS19/CIS120/...Ifyou bought the optional text: read chapter 1 (you might note that at Amazon](https://reader036.fdocuments.in/reader036/viewer/2022070822/5f25789c27e0245c840f69ba/html5/thumbnails/11.jpg)
Processing the records in the file.
Title: Feb 1212:11 PM (11 of 13)
![Page 12: Title: Feb 1210:51 AM (1 of 13) Did in class.cisweb.bristolcc.edu/~pgrocer/audio_smartboardS19/CIS120/...Ifyou bought the optional text: read chapter 1 (you might note that at Amazon](https://reader036.fdocuments.in/reader036/viewer/2022070822/5f25789c27e0245c840f69ba/html5/thumbnails/12.jpg)
Title: Feb 1212:11 PM (12 of 13)
![Page 13: Title: Feb 1210:51 AM (1 of 13) Did in class.cisweb.bristolcc.edu/~pgrocer/audio_smartboardS19/CIS120/...Ifyou bought the optional text: read chapter 1 (you might note that at Amazon](https://reader036.fdocuments.in/reader036/viewer/2022070822/5f25789c27e0245c840f69ba/html5/thumbnails/13.jpg)
Title: Feb 1212:13 PM (13 of 13)