anonymous
  • anonymous
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
Computer Science
  • Stacey Warren - Expert brainly.com
Hey! We 've verified this expert answer for you, click below to unlock the details :)
SOLVED
At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga. Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis voluptas assumenda est, omnis dolor repellendus. Itaque earum rerum hic tenetur a sapiente delectus, ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat.
schrodinger
  • schrodinger
I got my questions answered at brainly.com in under 10 minutes. Go to brainly.com now for free help!
anonymous
  • anonymous
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.
anonymous
  • anonymous
I need help with this please
anonymous
  • anonymous
what is the problem , m unable to get which kind of help u need ?

Looking for something else?

Not the answer you are looking for? Search for more explanations.

More answers

anonymous
  • anonymous
I need help to understand the logic behind each set of pseudocode
anonymous
  • anonymous
so what do you need to know
anonymous
  • anonymous
How would you implement the logic used for the above examples?
anonymous
  • anonymous
There is 2 examples and I usually have a tendency to over think the question asked
anonymous
  • anonymous
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...
anonymous
  • anonymous
dose that help any
anonymous
  • anonymous
It does if it could be viewed entirely sorry
anonymous
  • anonymous
Would it help if it was broken down?

Looking for something else?

Not the answer you are looking for? Search for more explanations.