May 2021 2 191 Report
Pseudocode problem Incomplete?

Here my question that I need to write in pseudocode...

The design is determining the correct sales tax depending on the country idenifying code.

Countries with a number less than 7 have a 5% salestax. The 8-24 codes have

a sales tax of 7%. Codes above 24 have a sales of tax of 9%.

Here what I got. The parts with underline means I didnt know exactly what to write but I got the format right...

Begin

Declare Real SalesTax

Declare___ country code

_____" Enter the country code: "

Input ____________

If _____ <=7 then

Set salesTax =____

ELSE

If____ AND ____ then

____

Else

Set salesTax = 0.09

EndIf

____

Display "the sales tax is: "+____

End

Can anyone help me fill in the blanks I didnt understand? Thanks in advance

Please enter comments
Please enter your name.
Please enter the correct email address.
You must agree before submitting.

Answers & Comments


Helpful Social

Copyright © 2024 Q2A.ES - All rights reserved.