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, 22.06.2019 05:30
Gerard is currently working as an entry-level customer support technician, but he would like to someday become a software developer. what is the best first step to understand what he should do? ask his manager for a new job or at least a job recommendation study graphic design in order to obtain the necessary skills use career resources to investigate what skills and education are required work part-time as an entry-level web developer question 13 (true/false worth 6 points) (08.03 lc) career resources are used to explore career options and find career information. true false question 14(multiple choice worth 6 points) (08.01 mc) classify the following skills: writing html code, evaluating color theory, using design principles. hard skills interpersonal skills people skills soft skills question 15 (true/false worth 6 points) (08.03 lc) a mentor is a person who is advised, trained, or counseled by a trusted mentee. true false
Answers: 2
question
Computers and Technology, 23.06.2019 17:00
1. which of the following is not an example of an objective question? a. multiple choice. b. essay. c. true/false. d. matching 2. why is it important to recognize the key word in the essay question? a. it will provide the answer to the essay. b. it will show you a friend's answer. c. it will provide you time to look for the answer. d. it will guide you on which kind of answer is required.
Answers: 1
question
Computers and Technology, 23.06.2019 17:00
*! 20 points! *jeff wants to create a website with interactive and dynamic content. which programming language will he use? a. dhtml b. html c. css d. javascript
Answers: 1
question
Computers and Technology, 24.06.2019 02:20
The first time a user launches the powerpoint program, which view is shown allowing the user to access recent presentations or create new presentations based on templates?
Answers: 1
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
Questions on the website: 13722360