COBOL PROGRAM : This program is basically designed to determine the energy efficiency  of each taxi in the fleet as well as entire fleet.

 

Given:

1-10 vehicle identification

 

11-20 Vehicle description

 

21-24 Miles traveled

 

25-28 Gallons of gas used

 

Program indicates the miles per gallon for each taxi and fleet as whole.

 No of posting: 3   Rating:

                                                                                                                               

COBOL PROGRAM : This program prints sales total from disks records for each of five transaction days.

 

 

Given:

1There is disk record for each sale made by a salesperson.

 

2.Records are sequenced by day number.

 

 No of posting: 3  Rating:

                                                                                                                               

COBOL PROGRAM : This program calculates total amount and amount due from the sales records.

 

Given:

1-5 ACCT-NO-IN

 

6-25 CUST-NAME-IN

 

26-30 AMT1-IN

 

31-35 AMT2-IN

 

36-40 DISCOUNT

COBOL PROGRAM : This program print the input of program in specific format.

 

Given:

 

       CUST-FILE   RECORDS

 No of posting: 1   Rating:                                                                                                                               

 No of posting: 1   Rating:                                                                                                                               

Posting :1

Fields

Size

Type

Decimal Position

DAY-NO

1

ALPHANUMERIC

 

SALESPERSON-NO

3

ALPHANUMERIC

 

SALES-AMOUNT

5

NUMERIC

2

Fields

Size

Type

Decimal Positon

INITIAL 1

1

ALPHANUMERIC

 

INITIAL 2

1

ALPHANUMERIC

2

LAST NAME

10

ALPHANUMERIC

2

MONTH OF TRANSACTION

2

ALPHANUMERIC

2

YEAR OF TRANSACTION

2

ALPHANUMERIC

2

TRANSACTION

6

ALPHANUMERIC