programming help
can someone go through this with me?
Have your eye on a new gadget? A new game? Maybe some new clothes? Well, now's your chance to create a program that calculates the total cost of three items on your wish list, including tax and shipping. Follow these steps to begin your planning: 1. Create a wish list by selecting at least three items you want. 2. Do your research. Find the online store(s) where you can purchase your wish list items and record the price of each one. 3. Think about what user input is required for others to use your program. 4. Think about how you will write an equation to calculate the subtotal of your three items, the tax, and the total purchase cost with tax and shipping. Note: Use 6.5% tax and a $5.99 flat-rate shipping fee for your program. 5. The output must include the following: name of each item, item price, subtotal for items, total amount of tax, shipping fee, and total purchase cost with tax and shipping. Use this table to organize your data:
i have to make this
these are the instructions: It's time to design your program by writing pseudocode. Your outline must include the following elements: • Input statements • Ask the user for at least three numeric values. • Show proper use of the int() and float() functions. • Calculations required to achieve correct output. • Use proper order of operations. • Use any appropriate math functions. • Output statements • Create clear and well organized output to share the data and results of the calculations. • Show proper use of the str() function.
im working on the code: def main(): print("Let's shop with Best Buy!") HeadsetQuantity = int(input("What is the quanity of the
my three items are a gaming headset, monitor, and keyboard
@vocaloid
when im writing the headsetquantity = int, do i write "how many headsets would you like to purchase?" or "What is the quanity of the headsets?"
@elsa213
is there anyone that knows how to program?
What language
Python?
If you can use JavaScript, I'd recommend using that. YouTube has tons of videos with JavaScript that show how to use a point of sale system.
I think I did something similar when I was learning python
It's been so long tho
Trying to remember everything
oh
i just wish vocaloid was online
she helps me with these
So @Gucchi, does it need to have for the inputs a request for the name of the three items, and their price? Then it needs to add those prices together, and display that subtotal? Then the price with tax and shipping applied?
im doing an input for quantity and price
Ok
so the user would have to answer those two questions
but the problem is thaty
It says to do quantity?
i chose to do it
Oh, ok
do you have any other ideas?
Hmm
Do you have the structure for everything else?
nah im just starting
i want to find out the right way to say this then ill move on
Okay, so what is the variable name for the first item
because then
thats an example
but i want to do price too
after quantity
but how would i ask that question because
i already gave each item a price on assignemnt wishlist
I thought they input the item they want
no i have to list three items
Oh, bc I was gonna say do itemOne = input("What is the first item you want to calculate cost for?")
cant do that tho man
Ohh
• Input statements • Ask the user for at least three numeric values.
what does it mean by three numeric values?
Prices
can you give an example?
?
Ok
So the first variable is lurePrice?
lureQuantity
Ok
So lureQuantity = input("What quantity of headphones do you want to calculate?")
B4 that tho
lurePrice = input("What is the price of the headset?")
Then do the quantity
so whats the point of the wishlist they give me then?
i dont get that?
why did they want me to list the prices?
I think it is an input for the item
ok but what about the prices?
For the item
So you look at the items and the prices and you'd be able to input those for the calculate then you make it usable by other users by making those items variables inputs
so what is this input three numerical values mean?
To that means I'm guessing the user will input the name of the item they want and then they'll input the price of it
Is the 3 numerical prices for the 3 Items
@ultrilliam o:
Yo
@vocaloid
@ultrilliam
Join our real-time social learning platform and learn together with your friends!