Asked by Latrell

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."}

exit

Answers

There are no human answers yet.
There are no AI answers yet. The ability to request AI answers is coming soon!

Related Questions