Question: Using programming concepts on arrays and control breaks(i.e. report writing), write an application that establishes an array of 20 employees. The program will read in

Using programming concepts on arrays and control breaks(i.e. report writing), write an application that establishes an array of 20 employees. The program will read in the appropriate information on each employee. Generate a 1 page report concerning the employees with appropriate headings. Show step #1 - #3.

*Professor doesn't specify which language to use*

*My professor already did 90% of the problem. We just have to fill out what's missing*

Variables

Compname() .

Emp#() ..

Ename()

Department() ...

Position() ..

Hdate() . Hire date

Thv Tile heading variable your string information

Phv Page heading variable

Chv ... Column heading variable

Pgnum ... page number variable

Lcount line count variable

Recount .. Record counter

I ... Used as an index for the array

Data File

Employees[20]

Compname() Emp#() Ename() Department() Position() Hdate()

IBM houibm123 John Doe Wireless Technican 12/12/89

USA webusa345 Jane Doe Inventory Clerk 09/24/97

CHASE newcha576 Hale Linsay New loan Manger 08/21/05

Using programming concepts on arrays and control breaks(i.e. report writing), write an

application that establishes an array of 20 employees. The program will read

in the appropriate information on each employee. Generate a 1 page report

concerning the employees with appropriate headings. Show step #1 - #3. *Professor

start INIT DO INIT 0 0 Compname0- Ename0- Department Position()= Hdate-0 Thx= DO HEADINGS DO Thepeople count= 0 I 19 stop return HEADINGS EJECT PAGE Th: Programming Logic and Design Monthly Report pg For 2012 Chy"Company Employee name ID Dept Position date hired" Write Thv. Panum SKIP 3 LINES Write Phv SKIP 3 LINES Write Chv Write Phyv SKIP 3 LINES Write Chv SKIP 2LINE return Thepeople Lsount > 60 HEADINGS read.compnamed),Emp# , Ename write Compnamed), SKIP LINE Recount I-I+1 Recount + 1 return

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!