Question: 6. Write C++ if statement code fragments to satisfy the given conditions. [10 marks) i. Check the range of frequency, freq to be between 100Hz

 6. Write C++ if statement code fragments to satisfy the given

6. Write C++ if statement code fragments to satisfy the given conditions. [10 marks) i. Check the range of frequency, freq to be between 100Hz and 10000Hz Display "Acceptable" if within the range and "Unacceptable" if not. (3 marks) 1 11 Check the prerequisite for a soldier candidate to be of age between 18 to 30 years, weight between 50 to 65kg and height must be greater than 156m. Display "Pulfill requirements" or "Do not fulfill requirements" based on these conditions (3 marks) Henry wants to buy a car. It must be under one of these conditions. Either (4) The year made after 2010, cylinder capability: ce between 1.5 to 2.0. ar (b) The year made before 2010. cylinder capability: ce preater than 2.0. His decision either to Purchase car or "Do not purchase car" should be reflected in the code

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!