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

exit

Respond to this Question

First Name
School Subject
Your Answer

Similar Questions

  1. math,algebra,help

    Problem states: Business and finance. The cost of producing a number of items x is given by C = mx + b, in which b is the fixed cost and m is the variable cost (the cost of producing one more item). (a)If the fixed cost is $40 and …
  2. business and finance

    The cost of producing a number of items x is given by C=mx+b, inwhich b is the fixed cost and m is the variable cost (the cost of producing one more item). (a) If the fixed cost is $40 and the variable cost is $10, write the cost equation. …
  3. algebra

    sally's print shop will print any image on a frisbee for a cost of $1.50 per frisbee and a one-time charge of $7. write an algebraic equation using c for cost and f for frisbees.
  4. computer science

    Write a program that will input an item’s wholesale cost and its markup percentage. The program will output the item’s retail price. The program should repeat for several input values. For example, if an item cost is 5.00 and markup …
  5. Programming

    I’m using VB 2008. I need to write a simple program that calculates total sales of purchases. The program should accept item costs as input calculate the tax on each item (8%) display the item cost, total cost, and total after taxes. …
  6. Object Oriented Programming

    Write an application class that generates 6 objects randomly from either a Car, or a Truck, or a Bicycle class. Your generated objects will be stored in a RentedVehicle array. Write a static method in your test class that takes an …
  7. epoka university

    1) The cost that is related to the particularly cost object and can be traced to it in an economically feasible (cost-effective) way is called: o Indirect cost o Cost tracing o Direct cost o Variable cost
  8. Programing using Raptor ( Computer Logic)

    Create a program that determine the shipping cost for an order based on the following table: From $0.00 $20.00 $50.00 $75.00 To $19.99 $49.99 $79.99 $1000.00 Price $2.95 $3.95 $4.95 Free
  9. programming (using raptor)

    Create a program that determine the shipping cost for an order based on the following table: From $0.00 $20.00 $50.00 $75.00 To $19.99 $49.99 $79.99 $1000.00 Price $2.95 $3.95 $4.95 Free
  10. Shipping Cost Program (Raptor)

    Create a program that determine the shipping cpst for an order based on the follwoing table: From $0.00 $20.00 $50.00 $75.00 To $19.99 $49.99 $79.99 $1000.00 Price $2.95 $3.95 $4.95 Free

More Similar Questions