1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Cerrena [4.2K]
2 years ago
14

Write a program that allows the user to input a total dollar amount for an online shopping order and computes and outputs the sh

ipping cost based on the following schedule:
psudocode,python.flowchart
Computers and Technology
1 answer:
tia_tia [17]2 years ago
5 0

The program written in python 3 which prints the shipping cost based on the total shopping cost is written thus :

cost = int(input('Enter your shopping cost : '))

<em>#accepts</em><em> </em><em>integer</em><em> </em><em>input</em><em> </em><em>of</em><em> </em><em>the</em><em> </em><em>customer's</em><em> </em><em>shopping</em><em> </em><em>cost</em><em> </em>

if cost < 50 :

print('ship within USA : $6 ')

print('ship to canada : $8')

<em>#if</em><em> </em><em>cost</em><em> </em><em>of</em><em> </em><em>shopping</em><em> </em><em>is</em><em> </em><em>below</em><em> </em><em>$</em><em>50</em><em>,</em><em> </em><em>shopping</em><em> </em><em>to</em><em> </em><em>USA</em><em> </em><em>is</em><em> </em><em>$</em><em>6</em><em> </em><em>and</em><em> </em><em>Canada</em><em> </em><em>$</em><em>8</em>

elif (cost >=50) & (cost < 100):

print('ship within USA : $9 ')

print('ship to canada : $12')

<em>#if cost of shopping is between $50 and below $100, shopping to USA is $9 and Canada $12</em>

elif (cost>=100) & (cost < 150):

print('ship within USA : $12')

print('ship to canada : $15')

<em>#if cost of shopping is between $</em><em>100</em><em> </em><em>and below $</em><em>150</em><em>, shopping to USA is $</em><em>12</em><em> and Canada $</em><em>15</em>

elif cost > 150 :

print('ship within USA : Free')

print('ship to canada : Free')

<em>#if cost of shopping is above $150 ; then shipping cost is free to both countries. </em>

Learn more :brainly.com/question/24847242

You might be interested in
Algorithm and flowchart to find the perimeter and area of square​
kupik [55]

Answer:

I can give you the perimeter "algorithm" but not the flowchart.

Here you go:

p = w * 4

p = perimiter,

w = width/height

4 = the amount of sides needed.

perimeter = width * 4

to include both width and height, we would instead use:

perimeter = 2(width+height)

This also works with rectangles ^

--------------------------------------------------------------------------

To find an area, it is just width * height. This is also compatible with rectangles.

4 0
3 years ago
Jerry recently purchased a new iPad. He needs guidance on setting it up and wants to find documentation to help with the setup.
SVEN [57.7K]

Answer:

That new iPad must contain a user guide. Its beneficial in setting up and configuring the device.  He can also find detailed steps on how to connect to a network, configure email, update the OS, sync, and back up settings and data.  

6 0
4 years ago
Read 2 more answers
Okay all the people that make other people cry leave me alone got it good
skelet666 [1.2K]

Answer:

YESSS

Explanation:

So many people have made me cry!!

8 0
3 years ago
Please list 15 safety rules that you think should be practiced in the Computer Technology classroom/lab.
nikklg [1K]

Answer:BE RESPECTFUL! Always treat the computer lab equipment AND your teacher and classmates the way that you would want your belongings and yourself to be treated.

No food or drinks near the computers. NO EXCEPTIONS.

Enter the computer lab quietly and work quietly. There are other groups and individuals who may be using the computer lab. Please be respectful.

Surf safely! Only visit assigned websites. Some web links can contain viruses or malware. Others may contain inapropriate content. If you are not certain that a website is SAFE, please ask a teacher or other adult.

Clean up your work area before you leave. All cords should be placed on the tables (not hanging off the sides). Headphones should be placed on the CPU/tower or monitor. Chair should be pushed under the tables. All trash, papers, and pencils should be picked up.

Do not change computer settings or backgrounds.

Ask permission before you print.

SAVE all unfinished work to a cloud drive or jump drive. Any work that is saved to the computer will be deleted when the computer is powered off or updated at the end of the day.

If you are the last class of the day, please POWER DOWN all computers and monitors.

Keep your files organized

Don’t let a student’s desktop become the digital version of his hectic book bag. Set aside a few minutes at the beginning or end of working on an assignment to ensure that students are saving unfinished work somewhere that they will be able to find it next time.

Log off

Logging off is like the digital version of cleaning up after yourself in the classroom. Students need to leave the computer ready for the next user. Logging off is also important to make sure that student work and accounts stay private.

Each person may only use one computer at a time

Computers and peripherals are not to be moved or reconfigured without approval of Lab and Classrooms staff.

Behavior and activities that disturb other users or disrupt the operations of the lab are not allowed. This includes, but is not limited to: physical activities such as "rough-housing," loud music, etc.

Children are only allowed in computer labs if they are well-behaved and supervised at all times. Children may not use the computers or occupy workstation areas. At no time are children to be left unattended.

.Explanation:

sorry about only 9 rules

4 0
3 years ago
Which is a safe practice when online
Kay [80]

Answer:

I don't know if there are choices but these are couple that i think would be right. Don't give out personal info, have a complex password and don't give it out to anyone, don't click on random pop up adds, and use a firewall

Explanation:

7 0
3 years ago
Read 2 more answers
Other questions:
  • Provide the code to insert a subtitle track named "Spanish Version" using the track text in the spanish.vtt file and the Spanish
    9·1 answer
  • Which one of the following may be used as an input as well as an output device? A. Fax machine B. Scanner C. Printer D. Voice re
    9·1 answer
  • Which tool is used to view stars in galaxies far from the Milky Way?
    10·1 answer
  • Describe an algorithm that, given n integers in range 0 to k, preprocesses its input and then answers any query about how many o
    15·1 answer
  • NEED BY 15 MINUTES PLEASE! WILL MARK BRAINLIEST!You can create special effects in an image using a camera or a photo-editing too
    5·1 answer
  • Draw the resistor’s voltage and current phasors at t=15ms. Draw the vectors with their tails at the origin. The orientation of y
    5·2 answers
  • Choose the best function for the purpose.
    11·1 answer
  • If you need to modify a features in a part created using the Mirror tool, you can make the change in the original feature and th
    14·1 answer
  • bro i got banned for posting an amazing bulk pic, but this dude literally posted an inappropriate, dafuq is wrong with this bann
    8·2 answers
  • Scott sends his backups to a company that keeps them in a secure vault. What type of backup solution has he implemented?
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!