Post a New Question

Programming Using Raptor

posted by .

How do i program this into Raptor Language?

print "What is the cost of the item?"

input cost

if ((cost >= 0) && (cost < 20)){print "The shipping is $2.95."}
if ((cost >= 20) && (cost < 50)){print "The shipping is $3.95."}
if ((cost >= 50) && (cost < 80)){print "The shipping is $4.95."}
if ((cost >= 80) {print "The shipping is FREE."}
else {print "Please enter a valid item cost."}


Answer This Question

First Name
School Subject
Your Answer

Related Questions

More Related Questions

Post a New Question