The boy scouts' popcorn supplies are all over the place and troops are only receiving certain flavors of popcorn. Write a program that uses a nested loop structure to produce the following output: How...


The boy scouts' popcorn supplies are all over the<br>place and troops are only receiving certain<br>flavors of popcorn.<br>Write a program that uses a nested loop structure<br>to produce the following output:<br>How many boy scouts are in your troop: 2<br>How many flavors of popcorn were sold by boy scout #1: 3<br>How many bags were sold of flavor 1: 85<br>How many bags were sold of flavor 2: 78<br>How many bags were sold of flavor 3: 95<br>The average number of bags of popcorn sold by boy scout #1 is: 86.0<br>How many flavors of popcorn were sold by boy scout #2: 2<br>How many bags were sold of flavor 1: 78<br>How many bags were sold of flavor 2: 69<br>The average number of bags of popcorn sold by boy scout #2 is: 73<br>The total number of bags of popcorn sold by the entire troop was: 405<br>

Extracted text: The boy scouts' popcorn supplies are all over the place and troops are only receiving certain flavors of popcorn. Write a program that uses a nested loop structure to produce the following output: How many boy scouts are in your troop: 2 How many flavors of popcorn were sold by boy scout #1: 3 How many bags were sold of flavor 1: 85 How many bags were sold of flavor 2: 78 How many bags were sold of flavor 3: 95 The average number of bags of popcorn sold by boy scout #1 is: 86.0 How many flavors of popcorn were sold by boy scout #2: 2 How many bags were sold of flavor 1: 78 How many bags were sold of flavor 2: 69 The average number of bags of popcorn sold by boy scout #2 is: 73 The total number of bags of popcorn sold by the entire troop was: 405

Jun 02, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here