![kathiaflores1215](/avatars/36556.jpg)
kathiaflores1215
02.03.2021 •
Computers and Technology
Write a program named CheckCredit that prompts users to enter a purchase price for an item. If the value entered is greater than a credit limit of $8,000, display You have exceeded the credit limit; otherwise, display Approved.
Solved
Show answers
More tips
- F Food and Cooking How to Make Sushi: A Step-by-Step Guide to Perfectly Rolled Delights...
- C Cities and Countries Which Country has the Most Expensive Visa?...
- F Family and Home Tender Care for Your Parquet: Is it Possible to Clean Parquet?...
- S Society and Politics Is It Fact or Fiction? Let s Talk About Anton Chekhov s Pseudonym...
- S Sport Playing Bowling: Rules and Advice for Novices...
- C Computers and Internet How to Properly Repartition a Hard Drive?...
- A Auto and Moto What Is the Cost of Customs Clearance for a Car in Russia?...
- L Leisure and Entertainment Should You Buy a Ceramic Knife?...
- C Computers and Internet How to easily and quickly disable Firebug in Gmail and Google Docs...
- G Goods and services How to sew a ribbon: Tips for beginners...
Answers on questions: Computers and Technology
- C Computers and Technology In 1-2 sentences describe how you would copy and paste a formula...
- C Computers and Technology What is the name of the amount of space between the content of a document and the edge of the page?...
- M Mathematics I need help please I will give brainless...
- B Business Journalize the following transactions into the general journal in accordance with the rules of Journalizing, and the Double-entry accounting system. April 20 Flores Company receives...
- P Physics if a ball is dropped off a cliff, it starts out at 0 m/s. after 1 s, it will be traveling at about 10 m/s. what will happen in 2 s if air resistance is removed?...
- M Mathematics Un número multiplicado por dos y aumentado en cuatro unidades me resulta 20, cuál es ese número?...
- M Medicine Is durban poison easy to grow...
- S Social Studies The seven bones of the neck are called vertebrae....
- S Social Studies What score do you need on ap exam for college credit...
- S Social Studies How long does it take for your award to update college board...
Ответ:
THIS IS FOR PYTHON
price = float(input('Price: '))
if price > 8000:
print('You have exceeded the credit limit')
else:
print('Approved')
Ответ:
To make the value 10 also part of the loop, the while statement must be "while x<=10" otherwise 10 is excluded. To have only even numbers, x should be increased by 2, not 1, i.e.: "x = x + 2".