We begin our investigation of object-oriented programming by creating an object-oriented program with a classcalled Employee.
/in Feeds /by Munene davidPlease help me with the attached assignment. This required to be done in C++.
We begin our investigation of object-oriented programming by creating an object-oriented program with a classcalled Employee. You will create two objects based on the Employee class, along with a class that contains themain method. The attributes, constructors, and methods for this class must satisfy the requirements in Steps 1through 3. After you create the objects, you will prompt the user for information and then display it.STEP 1: Understand the UML Class DiagramUse the following UML diagram to build the class. The first section specifies the attributes. Thesecond section specifies the behaviors, and the first character specifies the access modifier value,where:“-” means that the class member is private, and“+” means that the class member is public.

Looking for a Similar Assignment? Order now and Get 10% Discount! Use Coupon Code "Newclient"
The objective of the lab is to take the UML Class diagram and enhance last week’s Employee classby making the following changes
/in Feeds /by Munene davidPlease help me with the attached assignment.
This required to be done in C++.
The objective of the lab is to take the UML Class diagram and enhance last week’s Employee classby making the following changes:1.Create a static variable called numEmployees that holds an int and initialize it to zero. This willallow us to count all the Employee objects created in the main class.2.Increment numEmployees in all of the constructors3.Add overloaded versions of setDependents and setAnnualSalary that accept strings. This way,we will have two “set” methods for both dependents and annual salary; one that accepts astring, and one that accepts its default data type.STEP 1: Understand the UML Diagram/p>The following attribute has been added:– static numEmployees: int = 0The following behaviors have been added:+ static getNumEmployees( ) : int+ setDependents(in dep : String) : void+ setAnnualSalary(in sal : String) : void

Looking for a Similar Assignment? Order now and Get 10% Discount! Use Coupon Code "Newclient"
I need help with wriiting this C++ program this a program that simulates flipping a coin and rolling a dice.
/in Feeds /by Munene davidI need help with wriiting this C++ program this a program that simulates flipping a coin and rolling a dice.
Write a program that simulates fipping a coin and rolling a dice.A user will input their choice oF fipping a coin (C), rolling a dice (D), or exiTng (E).IF the user chooses a coin toss, the program will ask how many Tmes the coin should be tossed,and then will simulate tossing the coin that many Tmes and print the result to the user.IF the user chooses rolling a die, the program will ask how many sides the die has and how manyTmes it should be rolled.±he program will then simulate rolling a die (with the number oF sidesspeci²ed) that many Tmes.±he program will conTnue unTl the user presses E.This should be a lot of fun!Here are some great things to think about as you begin your program!You will need two FuncTons.A string fipCoin()and aint rollDice(int)FuncTon.±hese FuncTonswill generate a random number. ³or the coin fip, the random number should be in the range oF1 to 2. IF the number is 1, the FuncTon should returnheads.IF the random number is 2, theFuncTon should returntails.³or the roll dice FuncTon, the random number should be in therange oF 1 to the number oF sides. ±he FuncTon should return the result oF the die roll.Important notes: You will want to seed your random number generator. ±o do this at thebeginning oF your program #include <cTme>.Use the Following commands to seed the random number generator.//Get the system Tme to use it to seed the random number generatorunsignedseed = Tme(0);//seed the random number generatorsrand(seed);±o get a random number between 1 and 2, use the Following code:inttoss = 1 + rand() % 2;.Sample Output from the ProgramWelcome to the random value generator!Would you like to fip a coin (C), roll a die (D), or exit (E)? CHow many Tmes do you want to fip the coin? 5³lip 1 : tails³lip 2 : heads³lip 3 : heads³lip 4 : heads³lip 5 : tails

Looking for a Similar Assignment? Order now and Get 10% Discount! Use Coupon Code "Newclient"
About Us
![]()
Since 2010, we have offered professional writing services to clients all over the world.
Over the years, our writers have gained solid experience in all academic disciplines, giving them a competitive edge to provide only first-rate academic papers.
![]()
QUICK LINKS
Contact Us
For any questions, feedback, or comments, we have an ethical customer support team that is always waiting on the line for your inquiries.
Talk to us
support@academicheroes.com
Call us: +1 (203) -677 0547