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

To program the given code into Raptor Language, follow these steps:

Step 1: Start the Raptor program by adding the "start" symbol.

Step 2: Display the prompt message "What is the cost of the item?" using the "output" symbol.

```
start
output "What is the cost of the item?"
```

Step 3: Take input from the user for the cost using the "input" symbol and store it in the variable "cost".

```
start
output "What is the cost of the item?"
input cost
```

Step 4: Use conditional statements (if-else) to determine the shipping cost based on the value of "cost". Raptor doesn't support logical operators like "&&", so we will use nested if-else statements to achieve the same results.

```
start
output "What is the cost of the item?"
input cost

if (cost >= 0) then
if (cost < 20) then
output "The shipping is $2.95."
// shipping cost is $2.95 if less than 20
else
if (cost < 50) then
output "The shipping is $3.95."
// shipping cost is $3.95 if between 20 and 49
else
if (cost < 80) then
output "The shipping is $4.95."
// shipping cost is $4.95 if between 50 and 79
else
output "The shipping is FREE."
// shipping is free if 80 or above
endif
endif
endif
else
output "Please enter a valid item cost."
// value is negative, so not valid
endif

stop
```

Step 5: Finally, add the "stop" symbol to indicate the end of the program.

```
start
output "What is the cost of the item?"
input cost

if (cost >= 0) then
if (cost < 20) then
output "The shipping is $2.95."
// shipping cost is $2.95 if less than 20
else
if (cost < 50) then
output "The shipping is $3.95."
// shipping cost is $3.95 if between 20 and 49
else
if (cost < 80) then
output "The shipping is $4.95."
// shipping cost is $4.95 if between 50 and 79
else
output "The shipping is FREE."
// shipping is free if 80 or above
endif
endif
endif
else
output "Please enter a valid item cost."
// value is negative, so not valid
endif

stop
```

That's it! You have successfully programmed the given code into Raptor Language.