Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Hello everyone, Could I please get some help with converting this pseucode into a C++ code with syntax that will correctly compile and run in

Hello everyone,

Could I please get some help with converting this pseucode into a C++ code with syntax that will correctly compile and run in DEV C++?

Start

Declarations

num SIZE = 7

num dept_number[SIZE] = 1,2,3,4,5,6,7

string dept_name[SIZE] =Personal, Marketing, Manufacturing,

Computer Services, Sales, Accounting, Shipping

num hourly_salary[SIZE]

num total_hours[SIZE]

getReady()

display()

finishUp()

stop

getReady()

output Enter Department Number

input dept_number

output Enter Hourly Salary

input hourly_salary

output Enter total Hours worked

input total_hours

return

display()

for count = 0 to 6 step 1

output Department Number, dept_number[count]

output Department Name, dept_name[count]

output Gross pay hourly_salary[count]* total_hours[count]

count ++

endfor

return

finishUp()

output End of job

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

Modern Database Management

Authors: Jeffrey A. Hoffer Fred R. McFadden

4th Edition

0805360476, 978-0805360479

More Books

Students also viewed these Databases questions