subject

Answer this: Write a pseudocode algorithm for making a batch of meals for a group of people. The algorithm first of all asks how many people are there and how many vegetarians there are. For each person, a 100 grams of curry should be prepared If there are any vegetarians in the group, no meat will be added to the curry. Otherwise, 50 grams of meat is added to the curry for each person. Calculate the total amount of curry and meat needed Print the weight of curry and the weight of meat that needs to be prepared. Also print the total weight of all the food.​

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 09:50
17. implement the jvm dload instruction for the mic-2. it has a 1-byte index and pushes the local variable at this position onto the stack. then it pushes the next higher word onto the stack as well
Answers: 2
question
Computers and Technology, 22.06.2019 20:10
Assume the existence of a bankaccount class. define a derived class, savingsaccount that contains two instance variables: the first a double, named interestrate, and the second an integer named interesttype. the value of the interesttype variable can be 1 for simple interest and 2 for compound interest. there is also a constructor that accepts two parameters: a double that is used to initialize the interestrate variable, and a string that you may assume will contain either "simple", or "compound", and which should be used to initialize the interesttype variable appropriately. there should also be a pair of functions getinterestrate and getinteresttype that return the values of the corresponding data members (as double and int respectively).
Answers: 2
question
Computers and Technology, 23.06.2019 08:00
Michael has written an e-mail to his employees that describes a new product special that will be introduced to the customers next week. by taking time to make sure the e-mail is well written, logical, and organized, michael has made sure his message has the characteristics of a) effective communicationb) ineffective communicationc) barriers to communicationd) workplace communication
Answers: 2
question
Computers and Technology, 23.06.2019 12:00
3. when you right-click a linked spreadsheet object, what commands do you choose to activate the excel features? a. linked worksheet object > edit b. edit data > edit data c. linked spreadsheet > edit d. object > edit data
Answers: 2
You know the right answer?
Answer this: Write a pseudocode algorithm for making a batch of meals for a group of people. The alg...
Questions
question
Mathematics, 31.01.2020 01:44
question
Biology, 31.01.2020 01:44
question
Geography, 31.01.2020 01:45
Questions on the website: 13722367