PDA

View Full Version : output statement help.



aintnothang
02-14-2011, 12:32 AM
this is my assignment, yet I am very confused on how to do this. Can someone show me how to get started. I have never done anything like this before.



As you begin writing designs, you must consider how the output is structured and presented whether it’s on the screen or in a report. I’m going to give you several output statements and I want you to tell me exactly how they will appear on the screen.

1) Write “Inventory Report”

2) name = “Smith”
amt = 350.00
Output “The amount due for “, name, “ is $”, amt

3) num1 = 10
num2 = 20
num3 = 30
tot = num1 + num2 + num3
Write “The total of “, num1, “ plus “, num2, “ plus “, num2, “ is “, tot

4) rate = 17.50
hours = 35
sal = rate * hours
Display “A rate of “, rate, “ multiplied by hours of “, hours,
“ gives a Salary of”, sal

5) no1 = 20
no2 = 30
no3 = 40
Write no1, no2, no3