
Programming Logic and Design, Introductory 7th Edition by Joyce Farrell
النسخة 7الرقم المعياري الدولي: 1285225562
Programming Logic and Design, Introductory 7th Edition by Joyce Farrell
النسخة 7الرقم المعياري الدولي: 1285225562The Jumpin’ Jive coffee shop charges $2.00 for a cup of coffee and offers the add-ins shown in Table 6-3.
Design the logic for an application that allows a user to enter ordered add-ins continuously until a sentinel value is entered. After each item, display its price or the message Sorry, we do not carry that as output. After all items have been entered, display the total price for the order.
الخطوة 1 من6
Program Plan:
• Start the pseudo code with “start” keyword.
• Declare the integer variables using the “num” keyword such as x,flag,totalprice,MAXSIZE, and string variables using the “string” keyword such as PRODUCTS.
• Call the getReady() module.
• Loop executes until not end of file. If yes, call detailLoop() module.
• Call the finishup () module.
• Finally, stop the process.
الخطوة 2 من 6
الخطوة 3 من 6
الخطوة 4 من 6
الخطوة 5 من 6
الخطوة 6 من 6
لماذا لم يعجبك هذا التمرين؟
أخرى