Question: please can you help me to do the algorithm for this flowchart Start Display the carbon emission in your food is output carbon Display Lets
please can you help me to do the algorithm for this flowchart
Start Display "the carbon emission in your food is output carbon Display Lets continue to the next categories carbon = ef(product) (weight) input category input product weight = x ef = database et/ product , ef yes Category = Food Display "the carbon emission of your product is" output cfpackaging cfpackaging = (ef4)(weight) cfpackaging = (ef3)(weight) cfpackaging = (ef2)(weight) cfpackaging = (ef 1)(weight) yes Display Warning Please enter No No No packaging = other plastics packaging rigid(boxes/ crates) packaging PP (film/bags packaging glass input packaging weight = X eft = 750 ef2 = 2690 ef3 = 3640 ef4 = 3470 Category = Packaging again 2 3 yes Display "the carbon emission of your product is" output clothing clothing = (ef8)(weight) clothing = (ef7)(weight) clothing = (ef6) (weight) clothing = (ef5)(weight) input clothing weight = x ef5 = 37 ef6 = 8 ef7 = 19 ef8 = 7 Category = Clothing yes No No No Display Warning Please enter again clothing = wool clothing polyester clothing = cotton clothing nylon Display Thank you, , please be a wise consumer Display "the carbon emission of your product is" fuel = (ef12)(weight) fuel (ef11)(weight) fuel = (ef10)(weight) fuel = (ef9)(weight) input fuel weight = x ef9 = 2.522 ef10 = 2.212 ef11 = 2.302 ef12 = 2.641 Category Transport and Fuel output fuel No No No Display Warning Please enter again fuel = Diesel Fuel fuel Gasoline/Petrov fuel = Aviation Gasoline fuel = Jet fuel End
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
