Question
Question 2: You are coordinating a paper drive and want to offer the participants an incentive. If the participant brings in between 75 and 100
Question 2: You are coordinating a paper drive and want to offer the participants an incentive. If the participant brings in between 75 and 100 pounds inclusively they will get a $25 iTunes gift card. You have developed a software application to help. If a participant brings in 85 pounds of paper, which statement listed below will print out "Congratulations you get a gift card!"?
A. If TotalPounds > 75 Or < 100 Then
print("Congratulations you get a gift card!")
End If
B. If TotalPounds <= 75 Or TotalPounds >=100 Then
print("Congratulations you get a gift card!")
End If
C. If TotalPounds >= 75 And <= 100 Then
print("Congratulations you get a gift card!")
End If
D. If TotalPounds >= 75 And TotalPounds <= 100 then
print("Congratulations you get a gift card!")
End If
Question 6: You have been asked to develop a small software application that calculates the amount of carpet needed to carpet a room. When installing carpet, due to corners and odd spaces the installers often include a certain percentage of the room's area as waste. They then add this to the total amount of carpet to be purchased. Put the following lines of pseudocode in order [1,2,3...]
3. Ask the user for the width and length
1. Set roomarea to length * width
5. Display totalarea
2. Set waste to roomarea * waste
4.Set totalarea to roomarea + wast
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started