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

repare a c++ program of the sample run below

 Name                   Quiz1   Quiz2   Quiz3          Quiz4    Total Quiz

                                (20/20)  (30/30) (15/15)     (25/25)     90/90

Jessa Lee           12               15      15          20                 



Creat a class student consisting of data members register number, bame, gender, fees and age of the students and creat member function to read and display the student information


  1. p = m(67a - 32j) + 23-5m/a
  1. s = 6a/mn - (24j + 32)9m+1
  1. M= j(31k + 2r/n)2n

Name Surname Score

1. Sam Williams 60

2. John Phoenix 85

3. Simon Johnson 75

4. Sarah Khosa 81

5. Mat Jackson 38

6. Nick Roberts 26

7. Isaac Wayne 74

8. Anna Mishima 34

9. Daniel Rose 64

10. Aaron Black 83

11. Jack Mohamed 27

12. Kathrine Bruckner 42

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.


Why are the services below important to a firm or company, Explain?

(i) Advertising

(ii) Sales Promotion

 (iii) Personal Selling

(iv) Public Relations 


Program to create a class person having members name and age. Derive a class student having member percentage. Derive another class teacher having member salary. Write necessary member function to initialize, read and write data. Also write the main function. 


Repeatedly Delete N nodes after M nodes of a Linked list:
Given a linked list and two integers M and N. Traverse the linked list such that you retain M
nodes then delete next N nodes, continue the same until end of the linked list.
Input:
M = 2, N = 2
Linked List: 1->2->3->4->5->6->7->8
Output:
Linked List: 1->2->5->6
The main part of the problem is to maintain proper links between nodes, make sure that all
corner cases are handled.
Write a program to print all the elements of the single linked list in reverse order. The
algorithm should have linear time complexity and constant space complexity
LATEST TUTORIALS
APPROVED BY CLIENTS