subject

7. GST calculation program. The following program will ask the user to enter the cost before GST and
then calculate the GST (5%) and the total cost
including GST. Below is the sample running. Fill in
the missing code in the program below.
Running
How much does it cost? $ 45.80 <- input
GST is $2.29
Total is $48.09
"))
#GSTCalculation. py
line #1: cost =
(input("
line #2: gst = cost * 0.05
line #3:
line #4
line #5: print ("Total is $", total)

ansver
Answers: 2

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 21:30, mjweed2456
Nathan wants to create multiple worksheet containing common formatting styles for his team members. which file extension him to save these worksheets? nathan to create multiple worksheets with common styles. he needs to save them with the extension.
Answers: 1
image
Computers and Technology, 23.06.2019 19:30, 123iamthe1
You can apply several different worksheet themes from which tab?
Answers: 1
image
Computers and Technology, 24.06.2019 00:30, rustjallison9928
Asecurity policy is a a. set of guidlines b. set of transmission protocols c. written document d. set of rules based on standards and guidelines
Answers: 2
image
Computers and Technology, 24.06.2019 00:50, sequoyaburke
Which player type acts on other players? a. killer b. achiever c. explorer d. socializer
Answers: 1
You know the right answer?
7. GST calculation program. The following program will ask the user to enter the cost before GST an...

Questions in other subjects:

Konu
Mathematics, 25.04.2020 01:55