Benefits of object-oriented programming


Question 1: Write a C++ program which reads from the keyboard the final exam marks (integer numbers only) for N students, computes and displays the given information:

a) Average of odd number exam mark.

b) Average of even number exam marks

c) Highest exam mark

d) Lowest exam mark

e) Number of students with exam marks same as at least 1 other student's exam marks

f) Number of students with exam marks below 50. N must be declared as a constant in your program and it must be equivalent to the largest digit of your student id number.

Question 2: What are the five main benefits of object-oriented programming? Explain the meaning of the each benefit by giving an appropriate example or situation for each.

Question 3:

a) How do structures in C and C++ differ with illustration?

b) Implement the types of constructor’s in Simple bank Application?

Question 4: Describe different types of constructors in C++ with illustrations.

Request for Solution File

Ask an Expert for Answer!!
C/C++ Programming: Benefits of object-oriented programming
Reference No:- TGS03436

Expected delivery within 24 Hours