Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed

image text in transcribed

image text in transcribed

image text in transcribed

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Graph Database Modeling With Neo4j

Authors: Ajit Singh

2nd Edition

B0BDWT2XLR, 979-8351798783

Students also viewed these Databases questions

Question

What does Processing of an OLAP Cube accomplish?

Answered: 1 week ago