Answered step by step
Verified Expert Solution
Question
1 Approved Answer
I am Struggling with getting the calculations for the leftover hotdogs and buns... Complete the following Flowgorithm problem and submit the Flowgorithm file, the one
I am Struggling with getting the calculations for the leftover hotdogs and buns...
Complete the following Flowgorithm problem and submit the Flowgorithm file, the one that ends with fprg
Hot dogs come to a package and hot dog buns come to a package. Write a Flowgorithm program that calculates the number of packages of hot dogs and buns needed for a cookout with minimum leftovers.
The program should ask for the following information:
Number of people attending the cookout
Number of hot dogs allocated for each person
The program should calculate and display the following information:
Minimum packages of hot dogs needed
Minimum packages of hot dog buns needed
Number of hot dogs left over
Number of hot dog buns leftover
Partial packages of hot dogs and buns CANNOT be purchased.
Remember the following:
comment box for your name, date and purpose of program
use other comments where appropriate
DO NOT hard code numbers in calculations, use constants
use clear prompts for your data input requests
clearly label each output number or name
modulo operator might be useful result of a modulo operator divide is the remainder, ie remainder the answer would be
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started