Assignment #1 - 91B
Assignment #1 - 91B
COMPUTERS IN ENGINEERING 308-208A
====================================
A S S I G N M E N T # 1 Weight 10
------------------------ DUE 17 SEP 91
Write a Fortran77 program that prints your McGill Student ID like this:
9
0
1
2
3
4
5
(if your ID is 9012345 of course). It may seem stupid
for some of you but this assignment is really intended to introduce
you to MUSIC, the editor, control lines and technique for developing
programs. The control lines you should use are
/SYS REG=512
/LOAD VSFORT These lines all start in
/OPT SOURCE COLUMN 1
C
C Your Name:
C Your Code: HQ__
C YOUR MCGILL ID: 91______
C THE COURSE NUMBER: 308-208A
C The Assignment Number: 1
C
PRINT *,' '
Your Program - starting in column 7
END
/DATA
/ENDRUN
Once you have successfully run your program on the screen, use the
MUSIC RECORD feature to produce a printout.
*GO
/RECORD
ASSIGN1 (If ASSIGN1 is the name of your file)
*GO
/RECORD OFF
*GO
/PRINT @REC.000 CC ROUTE(MC101N)
*GO
/PURGE @REC.000
*GO
Alternatively you can place a
/INFO MUSICB R(MC101N) for McConnell Room 101N
or /INFO MUSICB R(MD283) for MacDonald Room 283
as the very first line of your file before the /SYS line
and once your really want a paper printout type
*GO
/SUBMIT ASSIGN1