Write a Fortran program that prints your name and McGill Student ID like this:
My name is Jean Cote and my McGill ID is
9 7 1 2 3 4 5
(if your ID is 9712345 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 /OPT SOURCE C Note the lines above are CONTROL LINES and start in Column 1 C C Your Name: C Your Code: HU__ C YOUR MCGILL ID: 98______ C THE COURSE NUMBER: 308-208B C The Assignment Number: 1 C PRINT *,' My name is is Jean Cote and my McGill ID is' C Your Program - starting in column 7 PRINT *,' ......' C . . . . . END /DATA
Once you have successfully run your program on the screen, use the MUSIC RECORD feature to produce a printout if you need it. Hit F3 a few times until a *GO prompt appears.
/PURGE @REC.000 << == Recommended *GO /RECORD ASSIGN1 (If ASSIGN1 is the name of your program) *GO /RECORD OFF *GO /view @REC.000 << == Recommended to look at file *GO
Once you have satisfied yourself that your program runs correctly, you should E-Mail the @REC.000 file to HUAA for grading. This is done by selecting the Mail item from the CI menu or typing mail after the *GO prompt. For example:
On the first panel select 2 for SEND MAIL. The following screen will appear (see below) . READ IT CAREFULLY!!
We recommend that you copy the e-mail you are sending to HUAA to yourself (HUxx).
See below an example:
---------------------------- Create and Send Mail ----------------------
Command===>Fill in the fields below and press ENTER to type the mail text.
To=> HUAA Subject=> Assignment 1 Text File=> @REC.000 Carbon=> HUxx Copy=>
Updated - Mon Jan 11 10:33:00 EST 1999