CSC110 Fundamentals of CSC L3P1 TimesTable

1 / 7

# CSC110 Fundamentals of CSC L3P1 TimesTable - PowerPoint PPT Presentation

CSC110 Fundamentals of CSC L3P1 TimesTable. Using VBSA. How It Works (Load). NEW : Clears the ListBox , then adds in the word PRODUCT . How It Works (Times Table). 1. 1. (loop). 1X1=1. (*Go to bottom of slide). 1. (next slide). 1. 1X1=1. *. 1X 1X1 1x1= 1X1=1.

I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.

## PowerPoint Slideshow about ' CSC110 Fundamentals of CSC L3P1 TimesTable' - wirt

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.

- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript

### CSC110Fundamentals of CSCL3P1 TimesTable

Using VBSA

NEW: Clears the ListBox, thenadds in the word PRODUCT.

How It Works (Times Table)

1

1

(loop)

1X1=1

(*Go tobottomof slide)

1

(next slide)

1

1X1=1

*

1X

1X1

1x1=

1X1=1

Loop runs 81 times. NESTED If (conditionalstatement / decision structure) changes the 1stnumber each time the 2nd number reaches 10.

(This will be clarified in last slide.)

How It Works (Times Table 2)

1

2

(loop)

1X1=1

(*Go tobottomof slide)

1

(num2 onlyequals 2,so programgoes back totop of loop;next slide)

1

1X1=1

*

1X

1X1

1x1=

1X1=1

How It Works (Times Table 3)

1

2

(loop)

1X1=1

1X2=2

(*Go tobottomof slide)

2

(next slide)

2

1X2=2

*

1X

1X2

1x2=

1X2=2

How It Works (Times Table 4…num2=10)

1

10

(loop)

1X1=1

1X2=2

(*Go tobottomof slide)

1X3=3

10

1X4=4

1X5=5

1X6=6

1X7=7

1X8=8

1X9=9

(num2=10!num2=1;num1=2;

back totop of loopnext slideshows result)

10

1X9=9

*

1X

1X9

1x9=

1X9=9

How It Works (Times Table 6…num2=10)

2

1

(loop)

1X1=1

1X2=2

(*Go tobottomof slide)

1X3=3

2

1X4=4

1X5=5

1X6=6

1X7=7

1X8=8

1X9=9

2X1=2

(num2=1;num1=2;

back totop of loop)

11

2X1=2

*

2X

2X1

2x1=

2X1=2

Loop runs 81 times. NESTED If (conditionalstatement / decision structure) changes the 1stnumber each time the 2nd number reaches 10.