Write a JAVA program that asks the user to input the jackets quality in any letter case (HQL for High Quality, LQL for Low Quality) and their prices in a factory, until the user enters a QUIT in any...


Write a JAVA program that asks the user to input the jackets quality in any letter case (HQL for High Quality, LQL for Low Quality)<br>and their prices in a factory, until the user enters a QUIT in any letter case to stop. Your program should count the number of HQL<br>and LQL jackets, as well as, the lowest HQL price of a jacket, then print the results on the screen. Your program should ignore any<br>unknown jacket quality.<br>Sample Input / Output<br>Input the quality of the jackets followed by their prices (quit to stop):<br>LQL 100.5<br>HQL 382.99<br>Lql<br>|hql<br>411.05<br>277.78<br>sdl<br>120.5<br>HQI 299.5<br>Quit<br>The Number of HQL jackets = 3<br>The Number of LQL jackets = 2<br>The Lowest HQL Price BD = 277.78<br>Note: Your answer should follow the given sample input / output.<br>

Extracted text: Write a JAVA program that asks the user to input the jackets quality in any letter case (HQL for High Quality, LQL for Low Quality) and their prices in a factory, until the user enters a QUIT in any letter case to stop. Your program should count the number of HQL and LQL jackets, as well as, the lowest HQL price of a jacket, then print the results on the screen. Your program should ignore any unknown jacket quality. Sample Input / Output Input the quality of the jackets followed by their prices (quit to stop): LQL 100.5 HQL 382.99 Lql |hql 411.05 277.78 sdl 120.5 HQI 299.5 Quit The Number of HQL jackets = 3 The Number of LQL jackets = 2 The Lowest HQL Price BD = 277.78 Note: Your answer should follow the given sample input / output.

Jun 09, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here