Skip to content

Commit 3e3f4ad

Browse files
Add files via upload
1 parent a21fc68 commit 3e3f4ad

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

DSB.BAS

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
10 RANDOMIZE TIMER
2+
3+
20 lowerBound = 1
4+
30 upperBound = 5
5+
6+
40 randomNumber = INT((upperBound - lowerBound + 1) * RND + lowerBound)
7+
50 CLS
8+
9+
60 PRINT "Initializing DSB..."
10+
70 SLEEP 3
11+
80 PRINT
12+
90 PRINT "Initialization successful!"
13+
100 SLEEP 1
14+
110 PRINT
15+
120 PRINT randomNumber; "USB ports found"
16+

0 commit comments

Comments
 (0)