part1c - WRITE(*,*)"I really appreciate your...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
!-------------------------------------------------------------------- ! Program Name: Thank you Card Generator ! Assignment: part1c ! Due Date: Janoary 20, 2010 ! ! Programmer: Alex Pollock Student ID: 000937716 ! Course: CSC-112L (214) Lab TA(s): Colin Moyer ! ! Description: The program will automatically geberate a Thank you card for the !user, given some basic information. ! ! Input: Name of the recipient, item recieved, two adjectives. ! ! Output: Thank you card ! ! Assumptions/Limitations: Name of the recipient should be less than 15 !character units, and all other input should be less than 20 character units. !-------------------------------------------------------------------- PROGRAM part1c IMPLICIT NONE CHARACTER(20):: name, item, adjective1, adjective2 WRITE(*,*)"Dear ___," WRITE(*,*) WRITE(*,*)"Thank you so much for the ___."
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: WRITE(*,*)"I really appreciate your thoughtfulness!" WRITE(*,*)"It was very ___ of you to think of me, and your gift is very ___." WRITE(*,*)"Thanks again!" WRITE(*,*)"Sincerely, Tiger Woods" WRITE(*,*)"Enter the name of the recipient:" READ(*,*)name WRITE(*,*)"Enter the item recieved:" READ(*,*)item WRITE(*,*)"Enter an adjective to describe the object recieved:" READ(*,*)adjective1 WRITE(*,*)"Enter another adjective to describe the object recieved:" READ(*,*)adjective2 WRITE(*,*)"Dear ",name," Thank you so much for the ",item,"." WRITE(*,*)"I really appreciate your thoughtfulness!" WRITE(*,*)"It was very ",adjective1," of you to think of me, and your gift is very ",adjective2,"." WRITE(*,*)"Thanks again! Sincerely, Tiger Woods" END PROGRAM part1c...
View Full Document

This note was uploaded on 07/22/2010 for the course MAE 112 taught by Professor Freeh during the Spring '10 term at North Country Community College.

Ask a homework question - tutors are online