CISY 125 - In-Class Lab # 3
Part A
Enter in the program
Enter the following program into QBasic:
REM your name here - In-Class Lab 3
CLS
LET Hours = 40
LET HourlyWage = 16.75
LET GrossPay = Hours * HourlyWage
PRINT "Hours", Hours
PRINT "Hourly Wage", HourlyWage
PRINT "Gross Pay", GrossPay
END
Make sure the REM statement has your full name instead of "your name here".
Save your work
Save the program on the In-Class floppy as INLAB3.BAS
Run your program
Run the program to check that it works.
Submitting the program
- Submit the QBasic code electronically (either hand in the In-Class Floppy, or e-mail the QBasic code)
- Submit the QBasic code on paper.