Instructions:?? 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 Dis
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. By Friday, January 4,
2013, submit a document that explains the implemented logic to the
W3: Assignment 3 Dropbox.
Collepals.com Plagiarism Free Papers
Are you looking for custom essay writing service or even dissertation writing services? Just request for our write my paper service, and we'll match you with the best essay writer in your subject! With an exceptional team of professional academic experts in a wide range of subjects, we can guarantee you an unrivaled quality of custom-written papers.
Get ZERO PLAGIARISM, HUMAN WRITTEN ESSAYS
Why Hire Collepals.com writers to do your paper?
Quality- We are experienced and have access to ample research materials.
We write plagiarism Free Content
Confidential- We never share or sell your personal information to third parties.
Support-Chat with us today! We are always waiting to answer all your questions.