Use R-Language

    1. Review The Power of Good Design (https://www.vitsoe.com/gb/about/good-design) and select three of the ten principles noted for good design. Next in R, utilize these three principles in a problem that you will solve. First note the problem to solve,...

Program that accept as input the module mark obtained

a) Write a program that will accept as input the module mark obtained by each student in a class of any size. The program should accept as input the class size followed by the set of marks for the class. The program should count and then display the percentage of...

Program that calculate and output the total cost

  A wholesale supplier of CDs charges €1.50 per CD but gives a % discount based on the number of CDs as follows: more than 500 discount 5% more than 1000 discount 10% more than 5000 discount 25% Write a program that will calculate and output the total cost based...

Code fragments

  a) What output would occur for each of the following code fragments cout << setw(6) << setfill(‘a’) << 321 << endl; cout << 3 + 4 * 7 ‐ 7; cout << 28 % 6 b) What would be the value of z displayed by each of the following code...