Quantcast

Got Homework?

Connect with other students for help. It's a free community.

  • across
    MIT Grad Student
    Online now
  • laura*
    Helped 1,000 students
    Online now
  • Hero
    College Math Guru
    Online now

Here's the question you clicked on:

55 members online
  • 0 replying
  • 0 viewing

DarkendSinz30 Group Title

start read Customer_Order_Record if Quantity > 100 then Discount = 20 else if Quantity > 12 then Discount = 10 endif endif Total = Price* Quantity Total = Total - (Discount* Total)/100 Print Total Stop >> Example 2 Start Read Student_Marks_File Pass = 0 Fail = 0 Total = 0 X = 0 while (End Of Student_Marks_File) do Total = Total + Subject_Marks if (Subject_Marks > 40) then Print "Student passed in" Subject else

  • 2 years ago
  • 2 years ago

  • This Question is Closed
  1. DarkendSinz30 Group Title
    Best Response
    You've already chosen the best response.
    Medals 1

    Print "Student failed in" Subject endif X = X +1 Read Next Record endwhile Average = Total/X Print "Average Marks of" Student_Name "are" Average Stop From the above examples of pseudocode containing control structures, analyze the logic implemented in the pseudocode.

    • 2 years ago
  2. DarkendSinz30 Group Title
    Best Response
    You've already chosen the best response.
    Medals 1

    I need help with this please

    • 2 years ago
  3. maheen_khizar Group Title
    Best Response
    You've already chosen the best response.
    Medals 0

    what is the problem , m unable to get which kind of help u need ?

    • 2 years ago
  4. DarkendSinz30 Group Title
    Best Response
    You've already chosen the best response.
    Medals 1

    I need help to understand the logic behind each set of pseudocode

    • 2 years ago
  5. yoloxlarge Group Title
    Best Response
    You've already chosen the best response.
    Medals 1

    so what do you need to know

    • 2 years ago
  6. DarkendSinz30 Group Title
    Best Response
    You've already chosen the best response.
    Medals 1

    How would you implement the logic used for the above examples?

    • 2 years ago
  7. DarkendSinz30 Group Title
    Best Response
    You've already chosen the best response.
    Medals 1

    There is 2 examples and I usually have a tendency to over think the question asked

    • 2 years ago
  8. yoloxlarge Group Title
    Best Response
    You've already chosen the best response.
    Medals 1

    Analyze Pseudocode The following are a few examples of pseudocode: >> Example 1 start read Customer_Order_Record if Quantity > 100 then Discount = 20 else if Quantity > 12 then Discount = 10 endif endif Total = Price* Quantity Total = Total - (Discount* Total)/100 Print Total Stop >> Example 2 Start Read Student_Marks_File Pass = 0 Fail = 0 Total = 0 X = 0 while (End Of Student_Marks_File) do Total = Total + Subject_Marks if (Subject_Marks > 40) then Print "Student passed in" Subject else Print "Student failed in" Subject endif X = X +1 Read Next Record endwhile Average = Total/X Print "Average Marks of" Student_Name "are" Average Stop From the above examples of pseudocode containing control structures, analyze the logic implemented in the pseudocode. Answer Preview ...to the "Total" variable (overwriting its existing value). Continuing from the previous example, "Total" would be 100 - 20 = 80. 6. Finally, total is printed by the "Print Total" command. The above explanation is rather too detailed for such a...

    • 2 years ago
  9. yoloxlarge Group Title
    Best Response
    You've already chosen the best response.
    Medals 1

    dose that help any

    • 2 years ago
  10. DarkendSinz30 Group Title
    Best Response
    You've already chosen the best response.
    Medals 1

    It does if it could be viewed entirely sorry

    • 2 years ago
  11. DarkendSinz30 Group Title
    Best Response
    You've already chosen the best response.
    Medals 1

    Would it help if it was broken down?

    • 2 years ago
    • Attachments:

See more questions >>>

Your question is ready. Sign up for free to start getting answers.

spraguer (Moderator)
5 → View Detailed Profile

is replying to Can someone tell me what button the professor is hitting...

23

  • Teamwork 19 Teammate
  • Problem Solving 19 Hero
  • You have blocked this person.
  • ✔ You're a fan Checking fan status...

Thanks for being so helpful in mathematics. If you are getting quality help, make sure you spread the word about OpenStudy.

This is the testimonial you wrote.
You haven't written a testimonial for Owlfred.