subject

I am so stuck on this. I need help with AP Computer Science Coding Unit 3, Lesson 10
A supermarket wants to install a computerized weighing system in its produce department. Input to this system will consist of a single letter identifier for the type of produce, the weight of the produce purchase is in pounds and decimals are acceptable, and the cost per pound of the produce.
Input Screen: Ask the following questions for input.
Please enter each of the following:
Description of Item (accept a string as input, but you will only print the first 3 letters from the String. Ex. Input: banana and Output: ban)
Weight of Item (accept a decimal as input)
Price per pound of item (accept a decimal as input)
Output Screen: Print a label showing the input information also with the total cost of the purchase. The label should have the following appearance. Make sure the output is neatly formatted and easy to read.


Penney Spender Supermarket
Produce Department

ITEM WEIGHT COST/LB COST
ban 2.0 lb $1.98 $3.96

Thank you!

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 14:30
Which of the following would not be considered a pc? a. mainframe b. desktop c. tablet pc d. laptop
Answers: 2
question
Computers and Technology, 24.06.2019 00:30
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
question
Computers and Technology, 24.06.2019 02:30
How to apply the fly in effect to objects on a slide
Answers: 1
question
Computers and Technology, 24.06.2019 10:00
Which feature of a blog to restore and retrieve older post
Answers: 3
You know the right answer?
I am so stuck on this. I need help with AP Computer Science Coding Unit 3, Lesson 10
A super...
Questions
question
Social Studies, 27.01.2021 19:40
question
English, 27.01.2021 19:40
question
Mathematics, 27.01.2021 19:40
question
History, 27.01.2021 19:40
question
Advanced Placement (AP), 27.01.2021 19:40
Questions on the website: 13722363