Question: 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

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!