Question: Writing simple C++ programs. You want to rate a computer, according to the following conditions: Price should be less than 2500 AED. Screen size should

  • Writing simple C++ programs.
 You want to rate a computer, according to the following conditions:
  1. Price should be less than 2500 AED.
  2. Screen size should be at least 15 inches
  3. RAM size should be at least 16 GB.
Your ratings are as follows:
5 stars, if all the conditions above are met.
4 stars, if condition (i) and (ii) are met only
3 stars, if condition (ii) and (iii) are met only
2 stars, if condition (i) and (iii) are met only 
0 stars, if none of the conditions above are met.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!