Computer Science, asked by Rushikachallagulla, 7 months ago

Algorithm for a juice vending machine. System will ask the user to choose among any two colours pressing a button. User can choose“YELLOW” for mango juice, “RED” for water melon juice. Inputs: colour choice.

Answers

Answered by kirtidhawan32
1

Answer:

Step 1: start

Step 2: declare yellow, X, red as alphanumeric variable

Step 3 :take input of yellow and red

Step 4:if x - yellow then give mango juice

Step 4.1:else if give water melon juice

Step 5stop

Similar questions