C++ Answers

Questions answered by Experts: 9 913

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Search

Write a Programmer that will develop a software called VACCINE_OPTION, that will determine the correct vaccine for every candidate. The available vaccines are Moderna, mRNA, Johnson & Johnson’s Janssen and Pfizer-BioNTech

The software should determine the type of vaccine a candidate should receive based on their temperature. Use the switch statement to determine the right vaccine for candidate by using their temperature readings

1. 30-33 for Mordena

2. 34-36 mRNA

3. 37-38 Johnson and Johnson’s Janssen

4. 39-40 Pfizer-BioNTech

The program must be able to read temperatures up to four(4) decimal places after the comma and use an appropriate library to convert it to two(2) decimals after the comma,

people that are vaccinated:

Jay Snow 34,37 mRNA

Chris Van 37,66 Johnson and johnson’s Janssen

Charles Smith 32,55 Mordena

Norwell Sky 39,78 pFizer-BioNTech


-Use an appropriate operator to convert an expression to a specified type

-manage the alignments in the summary of your candidates


Write a program that declares a struct to store the data of a baseball player (player’s name, number of home runs, and number of hits). Declare an array of 10 components to store the data of 10 baseball players. Your program must contain a function to input data and a function to output data. Add functions to search the array to find the index of a specific player, and update the data of a player. (You may assume that input data is stored in a file.) Before the program terminates, give the user the option to save data in a file. Your program should be menu driven, giving the user various choice


Create a C++ program that has 3 Stacks.
Insert, into the first stack, all the data above (which is the data of student’s names,
surnames and the marks they obtain in a particular assessment)
Display the content of the stack on the screen (console)
Then, remove all the students whose surname starts with the alphabets ‘R’, ‘J’ and
‘M’, from the first stack and insert them into the second Stack.
Write a method that accepts a string and integer n as arguments, the method then displays the passed string n times. Example, if we pass "Testing" as a string and as the integer, function will display ;
Testing
Testing
Testing
Testing
Write a main method demonstrating that the method works correctly by calling it twice, firstly with your first name and last digit on your student number .
How do I write an algorithm, pseudocode and flowchart to find the perimeter and area of a regular polygon

Define a class named Animal that holds private data fields name, color, age and sound. Create public functions that set (give values) and get (retrieve values) the data. Write a main() function that demonstrates the class operates correctly by creating at least one Animal object, and calling all the methods defined for the Animal class. 


Write a program that inserts 25 random integers from 0 to 100 in sorted order in a linked list.
The program should calculate the sum of the elements and the floating-point average of the
elements.
WAP to implement the Linear linked list. Perform the following operations on the linked
list:
 Creating an empty linked list
 Adding the numbers at the beginning of the linked list.
 Addition of numbers after a particular location.
 Counting the no of nodes.
 Displaying the linked list.
Design a recursive algorithm to search a sorted array a for an element x between a[low] and
a[high]. If no element is found it returns -1.
A positive integer is entered through the keyboard; write a recursive function to obtain the
prime factors of that integer.
LATEST TUTORIALS
APPROVED BY CLIENTS