Please create a C++
kindly take note of the following:
• The program needs to ask the user to choose if he/she will compute for the equivalent resistance of a series or parallel combination.
• He also needs to input three resistance values R1, R2, and R3 in ohms.
• The program is expected to provide an output of equivalent resistance in series (RS) or parallel (RP).
Please don't forget to include a pseudocode per line. Thank you!
Please attach the screenshot of the output and the complete codes. Thank you.
Trending nowThis is a popular solution!
Step by stepSolved in 5 steps with 4 images
- Hello, can anyone help me with this program please? I need it in C++. I already have a bit of code that was given to me but I'm not sure how to go forward with it. Please help me. Modify the vehicle management program to allow an automobile rental company to manage its fleet of automobiles. First, define a class called CityCar that contains an array of pointers to the 100 objects in the Car class. This also allows you to store pointers to objects of the derived class types PassCar and Truck. The objects themselves will be created dynamically at runtime. Define a class CityCar with an array of pointers to the Car class and an int variable for the current number of elements in the array. The constructor will set the current number of array elements to 0. The destructor must release memory allocated dynamically for the remaining objects. Make sure that you use a virtual destructor definition in the base class Car to allow correct releasing of memory for trucks and passenger vehicles.…arrow_forwardCreate a social network, Chirper, that lets the user add new Chirps and like existing Chirps. It's lonely because only one person can add and like messages -- so there's really not much "social" about it. At least you can practice using objects, references, and function overloading in C++! Here's an example of how this program will run You can "chirp" a new message to Chirper, or "like" an existing chirp, or "exit". What do you want to do? chirp What's your message? This is my first chirp! Chirper has 1 chirps: 1. This is my first chirp! (0 likes) You can "chirp" a new message to Chirper, or "like" an existing chirp, or "exit". What do you want to do? like Which index do you want to like? 1 Chirper has 1 chirps: 1. This is my first chirp! (1 likes) You can "chirp" a new message to Chirper, or "like" an existing chirp, or "exit". What do you want to do? chirp What's your message? Second chirp is the best chirp. Chirper has 2 chirps: 1. This is my first chirp! (1 likes) 2. Second chirp…arrow_forwardINSTRUCTIONS: Write a C++ script/code based on the problem below. RESISTANCE PROBLEM: For your first OOP computer code, you are to create a code containing class for the solution of resistor problem for a purely series and purely parallel electric circuit. The user will input three resistance values R1; R2; and R3 in ohms; and the program will provide an output of its resistance combination in series (Rs) and parallel (Rp).arrow_forward
- not quite sure how to approach this, i need to do it in c++ and if possible with explanation on each step pls!arrow_forwardMust be in C# and this assignment only Rare Collection. We can make arrays of custom objects just like we’vedone with ints and strings. While it’s possible to make both 1D and 2D arrays of objects(and more), for this assignment we’ll start you out with just one dimensional arrays.Your parents have asked you to develop a program to help them organize the collectionof rare CDs they currently have sitting in their car’s glove box. To do this, you will firstcreate an AudioCD class. It should have the following private attributes. String cdTitle String[4] artists int releaseYear String genre float conditionYour class should also have the following methods: Default Constructor: Initializes the five attributes to the following default values:◦ cdTitle = “”◦ artists = {“”, “”, “”, “”}◦ releaseYear = 1980◦ genre = “”◦ condition = 0.0 Overloaded Constructor: Initializes the five attributes based on values passedinto the formal parameters◦ If condition is less than 0.0 or greater than 5.0,…arrow_forwardPLEASE HELP! I am looking for the code that is specifically for MyprogrammingLab C++ 5.2 Time Project, or a code that uses a void function with only #include<iostream> 5.2: TimeWrite a program that requests the current time and a waiting time as two integers for the number of hours and the number of minutes to wait. The program then outputs what the time will be after the waiting period. Use 24-hour notation for the times. Include a loop that lets the user repeat this calculation for additional input values until the user says she or he wants to end the program. Input Notes:Both the current time and the waiting time are entered in the form HH:MM where HH and MM are integers signifying hours and minutes respectively. In response to the continuation prompts (described below) the user types a y or a Y to signify "continue" with any other character signifying "quit". Output Notes (Prompts and Labels):At the outset the program prints the title "Compute completion time from current…arrow_forward
- I need help writing a C++ code. I need the code to be a class called date that has an integer data members to store month, day, and year. The class should have a three-parameter default constructor that allows the date to be set at the time a new Date Object is created. If the user creates a Date object without passing any arguments, or the values passed are invalid, the default values of 1,1,2001 (i.e, January 1, 2001) should be used. The class should have member functions to print the date in the following formats: 3/15/2020 March 15, 2020 15 March 2020 I also need the program to only accept real values for month and day. By this I mean month 1-12 and date 1- how ever long the month is.arrow_forwardI need help creating a C++ Code. I need help Designing a PayRoll class that has data members for an employee’s hourly pay rate and the number of hours worked. Write a program with an array of seven PayRoll objects. The program should read the number of hours each employee worked and their hourly pay rate from a file and call class functions to store this information in the appropriate objects. I have a file named Data 1.It should then call a class function, once for each object, to return the employee’s gross pay, so this information can be displayed. I have attached the data that I was using.40.0 10.00 38.5 9.50 16.0 7.50 22.5 9.50 40.0 8.00 38.0 8.00 40.0 9.00arrow_forward
- Computer Networking: A Top-Down Approach (7th Edi...Computer EngineeringISBN:9780133594140Author:James Kurose, Keith RossPublisher:PEARSONComputer Organization and Design MIPS Edition, Fi...Computer EngineeringISBN:9780124077263Author:David A. Patterson, John L. HennessyPublisher:Elsevier ScienceNetwork+ Guide to Networks (MindTap Course List)Computer EngineeringISBN:9781337569330Author:Jill West, Tamara Dean, Jean AndrewsPublisher:Cengage Learning
- Concepts of Database ManagementComputer EngineeringISBN:9781337093422Author:Joy L. Starks, Philip J. Pratt, Mary Z. LastPublisher:Cengage LearningPrelude to ProgrammingComputer EngineeringISBN:9780133750423Author:VENIT, StewartPublisher:Pearson EducationSc Business Data Communications and Networking, T...Computer EngineeringISBN:9781119368830Author:FITZGERALDPublisher:WILEY