ComputerScienceExpert

(11)

$18/per page/

About ComputerScienceExpert

Levels Tought:
Elementary,Middle School,High School,College,University,PHD

Expertise:
Applied Sciences,Calculus See all
Applied Sciences,Calculus,Chemistry,Computer Science,Environmental science,Information Systems,Science Hide all
Teaching Since: Apr 2017
Last Sign in: 103 Weeks Ago, 3 Days Ago
Questions Answered: 4870
Tutorials Posted: 4863

Education

  • MBA IT, Mater in Science and Technology
    Devry
    Jul-1996 - Jul-2000

Experience

  • Professor
    Devry University
    Mar-2010 - Oct-2016

Category > Programming Posted 20 May 2017 My Price 8.00

SET B.Defne a structure defni±on

ill don't know how to apply f stream. and the information is still unclear.

 

SET B.Defne a structure defni±on namedempInfothat contains a double typemonthlySal,annualSal (mustbe greater thanor equal 200000),tPerformance (must be from 5000 to 15000 only),tBonus, stringstatusand an object namednamethat calls another structure defni±on calledfullNamecontaining thefname,lnameas stringandmidNameas type char***.***StructurefullNameshould be nested toempInfo*Use do-while For the valida±on oF monthlySal and tPerFormance.Prompt the user to input the desired number oF employee using Func±onint getSize();and validate theinput size usingtry-throw-catch method. Size must be From 3 to 5 only ans ask the user to re-enter thecorrect value. Use Func±on voidvoid getEmp(empInfo emp[]);to enter the values oF each feld/memberoF the structure, use Func±onvoid computetBonus(empInfo emp[]);to compute and calculate themonthly salary and bonus oF each employees.NOTE: Bonus is equal to monthly salary + perFormanceUse Func±onvoid getStatus(empInfo emp[])to test the bonus oF each employee –tBonusandto knowthe status iF student “UPPER MANAGEMENT” or “LOWER MANAGEMENT” .NOTE: “UPPER MANAGEMENT” iF tBonus is greater than or equal to 50000 . Otherwise, “LOWERMANAGEMENT”.Use Func±onvoid getOutput(empInfo emp []);display to Following:Usesetwto arrange the list oF student on screen.²inally use Func±onvoid getSend(ofstream& hout, empInfo emp [])to save and send the records to afle. Prompt the user to enter a flename and test whether the fle is exis±ng or not.IF the fle is exis±ng,use try-throw-catch method to re-enter another flename.Prompt the user iF the data has been saved to the fle created.LastnameFirstnameMiddleTBonusStatus

Attachments:

Answers

(11)
Status NEW Posted 20 May 2017 12:05 PM My Price 8.00

-----------

Attachments

file 1495283440-Solutions file 2.docx preview (51 words )
H-----------ell-----------o S-----------ir/-----------Mad-----------am ----------- Th-----------ank----------- yo-----------u f-----------or -----------you-----------r i-----------nte-----------res-----------t a-----------nd -----------buy-----------ing----------- my----------- po-----------ste-----------d s-----------olu-----------tio-----------n. -----------Ple-----------ase----------- pi-----------ng -----------me -----------on -----------cha-----------t I----------- am----------- on-----------lin-----------e o-----------r i-----------nbo-----------x m-----------e a----------- me-----------ssa-----------ge -----------I w-----------ill----------- be----------- qu-----------ick-----------ly -----------onl-----------ine----------- an-----------d g-----------ive----------- yo-----------u e-----------xac-----------t f-----------ile----------- an-----------d t-----------he -----------sam-----------e f-----------ile----------- is----------- al-----------so -----------sen-----------t t-----------o y-----------our----------- em-----------ail----------- th-----------at -----------is -----------reg-----------ist-----------ere-----------d o-----------n -----------THI-----------S W-----------EBS-----------ITE-----------. ----------- Th-----------ank----------- yo-----------u -----------
Not Rated(0)