Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Minor Program: Girl Scout Cookies Problem: A girl scout leader has been sent boxes of cookies for her troop to sell at Wal-Mart. Each box

Minor Program: Girl Scout Cookies

Problem:

A girl scout leader has been sent boxes of cookies for her troop to sell at Wal-Mart. Each box sells for 4.50. She knows how many boxes she is starting off with, and at the end of the day, she will know how many boxes she has left. The leader would like a program that will calculate the number of boxes sold and the amount of money they should have made.

Analysis Guide

  1. What is the purpose of this program? ?
  1. What information would you need from the user? ?
  1. What would you do with the information? ?
  1. What information would you need to give back to the user? ?

Sample Input

How many boxes did you start with? 200

How many boxes did you end with? 97

Sample Output

Starting Inventory: 200

Ending Inventory: 97

Boxes Sold: 103

Revenue Received: 463.5

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

MySQL/PHP Database Applications

Authors: Brad Bulger, Jay Greenspan, David Wall

2nd Edition

0764549634, 9780764549632

Students also viewed these Databases questions

Question

1. Who is responsible for resolving this dilemma?

Answered: 1 week ago