Simple COBOL Help Write a program for the Pass-Em State College bursar to comput
ID: 3669850 • Letter: S
Question
Simple COBOL Help
Write a program for the Pass-Em State College bursar to compute for each semester the tuition for each student. If a student is taking 12 credits or less, tuition is $525 per credit. If a student is taking more than 12 credits, the total tuition is $6300. Note: Use the format for arithmetic
Input: Disc File Output: Print File
1-20 Student name 1-20 Student Name
21-22 Number of credits 41-42 Number of credits
23-80 Not used 63-66 Tuition
PERRIN, CRAIG 12
MURRAY, SUSAN 11
HARTMAN, TOM 13
JOHNSON, CRAIG 10
WILSON, LISA 12
JENNINGS, DEREK 15
THOMAS, STEVE 09
BARTON, MARY 13
PHILLIPS, MIKE 12
BARRY, DEBBY 14
BROWNING, PAUL 14
WATSON, TIM 12
DIONNE, SERGE 06
BLACK, SHIRLEY 08
MORAN, ROBERT 13
JACKSON, ARLENE 15
TOPPING, CLIFF 11
ROBERTS, DOUG 12
HARRISON, KIM 12
HARRISON, LEE 13
BROWNE, DAN 11
FARROW, HUGH 10
SPIELMAN, CHRIS 10
Explanation / Answer
inputs outputs
names credits tution fee result
lee
h+k=12
h+l=13
//l+k=1 where HARRISON, LEE ,KIM
browning+paul=14
browne+dan=11
//p+d=3;
p+c=12
//j+c=10
p-j=2(perrian/craig/johnson)
jackson+arlene=15
//p+a=17;
MORAN, ROBERT 13
ROBERTS, DOUG 12
m+d=1
wilson+lisa=12
watson+tim=12
l+t=0
h+t=13(hartman,tom)
so h-l=13.
so person above 12 credits are wilson,arelene,jackson,robert,browne,harrison.
MOVE 'tom' TO NAME-IN
MOVE NAME-IN(1:20) TO NAME-OUT.
lee
<12 $525 fee*no of days kim <12 $525 fee*no of days harrison >12 6300 fee*no of days perrian <12 $525 fee*no of days johnson >12 6300 fee*no of days paul <12 $525 fee*no of days creig <12 $525 fee*no of days areline >12 6300 fee*no of days brown >12 6300 fee*no of days morgan <12 $525 fee*no of days robert >12 6300 fee*no of days doug <12 $525 fee*no of days lisen <12 $525 fee*no of days tim <12 $525 fee*no of days watson >12 6300 fee*no of days spielman <12 $525 fee*no of days hugh <12 $525 fee*no of days farrow <12 $525 fee*no of days hartman <12 $525 fee*no of days black <12 $525 fee*no of days thomas <12 $525 fee*no of days farrow <12 $525 fee*no of days cliff <12 $525 fee*no of daysRelated Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.