Example Of Printing - IBM 5110 Basic Introduction

Table of Contents

Advertisement

86
Example of Printing
There are three sales representatives in your department, and you are
responsible for making a monthly report showing their sales figures
for each week of the month. You can write a program that will
automatically print the report for you in an attractive format.
This is how the variables in the program are named. Each sales
representative is assigned a letter: A, B, and C. Starting with the first
sales representative, the variables are:
A$
- Name
A 1
- Sales total for week 1
A2
- Sales total for week 2
A3
- Sales total for week 3
A4
- Sales total for week 4
A5
Sales total for the month
and so on for sales representatives Band C
There are these other variables:
M$
W$, X$, Y$, and Z$ -
T1, T2, T3, and T4 -
T5
Name of the month
Last day of each week in the month
Totals for everybody for each week
Total for everybody for the month
o
,.
"
\~
"\,._ . .l'
86
Example of Printing
There are three sales representatives in your department, and you are
responsible for making a monthly report showing their sales figures
for each week of the month. You can write a program that will
automatically print the report for you in an attractive format.
This is how the variables in the program are named. Each sales
representative is assigned a letter: A, B, and C. Starting with the first
sales representative, the variables are:
A$
- Name
A 1
- Sales total for week 1
A2
- Sales total for week 2
A3
- Sales total for week 3
A4
- Sales total for week 4
A5
Sales total for the month
and so on for sales representatives Band C
There are these other variables:
M$
W$, X$, Y$, and Z$ -
T1, T2, T3, and T4 -
T5
Name of the month
Last day of each week in the month
Totals for everybody for each week
Total for everybody for the month
o
,.
"
\~
"\,._ . .l'

Advertisement

Table of Contents
loading

Table of Contents