subject
Engineering, 10.12.2019 20:31 ggpro4life3000

// a high school is holding a recycling competition, // and this program allows a user to enter a student's // year in school (1 through 4) and number of cans collected // for recycling. data is entered continuously until the user // enters 9 for the year. // after headings, output is four lines -- // one for each school year class. start declarations num year num cans num size = 4 num quit = 9 num collectedarray[size] = 0, 0, 0 string head1 = "can recycling report" string head2 = "year cans collected" output "enter year of student or ", quit, " to quit " input year while year < > quit output "enter number of cans collected " input cans collectedarray[year] = collectedarray[year] + cans output "enter year of student or ", quit, " to quit " input year endwhile output head1 output head2 year = 1 while year < size output year, collectedarray[year] year = year + 1 endwhile stop

ansver
Answers: 2

Another question on Engineering

question
Engineering, 03.07.2019 14:10
When at a point two solid phase changes to one solid phase on cooling then it is known as a) eutectoid point b) eutectic point c) peritectic point d) peritectoid point
Answers: 3
question
Engineering, 03.07.2019 15:10
Apiston-cylinder with a volume of 0.25 m3 holds 1 kg of air (r 0.287 k/kgk) at a temperature of 100 c. heat transfer to the cylinder causes an isothermal expansion of the piston until the volume triples. how much heat is added to the piston-cylinder?
Answers: 3
question
Engineering, 04.07.2019 18:10
What are the two (02) benefits, which may result from a successful implementation of preventive maintenance (pm) program in an organization? (clo3)a)- lean manufacturing b)-overlapping responsibilities c)-the planner is not qualified d)-accurate contractor information e)-reduction in equipment redundancies f)-accurate stores information
Answers: 3
question
Engineering, 04.07.2019 18:20
Avolume of 2.65 m3 of air in a rigid, insulated container fitted with a paddle wheel is initially at 264 k, 5.6 bar. the air receives 432 kj by work from the paddle wheel. assuming the ideal gas model with cv = 0.71 kj/kg β€’ k, determine for the air the amount of entropy produced, in kj/k
Answers: 2
You know the right answer?
// a high school is holding a recycling competition, // and this program allows a user to enter a st...
Questions
question
Mathematics, 08.01.2021 15:50
question
Mathematics, 08.01.2021 15:50
question
Mathematics, 08.01.2021 15:50
question
Mathematics, 08.01.2021 15:50
question
Biology, 08.01.2021 15:50
question
Mathematics, 08.01.2021 15:50
Questions on the website: 13722367