SpongeBob and Patrick went to a party at the Pineapple House. They each got a ticket for the Roller Coaster. SpongeBob got a Krabby Patty, and Patrick got a Krusty Krab Pizza. SpongeBob had a certificate for $7 off the cost. Patrick paid the rest, which came to $15. Each Roller Coaster ticket was $3, and a Krabby Patty was $5. What was the cost for Krusty Krab Pizza?

SpongeBob paid $3 for his Roller Coaster ticket because 5 - 7 = <<5-7=-2>>-2

Patrick paid $12 for the pizza and Roller Coaster ticket because 15 - 3 = <<15-3=12>>12
The Krusty Krab Pizza cost $7 because 12 - 5 = <<12-5=7>>7. Answer: \boxed{7}.

To find the cost of the Krusty Krab Pizza, we need to subtract the cost of SpongeBob's Krabby Patty from the total amount Patrick paid.

From the given information, we know that SpongeBob's Krabby Patty was $5, and Patrick paid a total of $15. We also know that SpongeBob had a certificate for $7 off the cost of his purchase.

To find the cost of Patrick's Krusty Krab Pizza, we have to subtract the amount SpongeBob saved with his certificate from the total amount Patrick paid.

First, we need to calculate the amount SpongeBob paid for his purchase. Since his Krabby Patty was $5, and he had a certificate for $7 off, the cost he paid would be $5 - $7 = -$2.

Next, we subtract the amount SpongeBob paid from Patrick's total payment to find the cost of the Krusty Krab Pizza. $15 - (-$2) = $15 + $2 = $17.

Therefore, the cost of the Krusty Krab Pizza was $17.

First, let's calculate the total cost paid by Patrick for the Roller Coaster tickets and the Krabby Patty:

The cost of SpongeBob's Krabby Patty is $5.
If SpongeBob had a certificate for $7 off the cost, the original cost would be $5 + $7 = $12.
The total cost paid by Patrick, including the Roller Coaster tickets, is $15.
Therefore, the cost of the Roller Coaster tickets is $15 - $12 = $3.

Let's represent the cost of the Krusty Krab Pizza as x.

So, the equation now becomes: $3 + x = $15.

To find the value of x, we subtract $3 from both sides of the equation:

x = $15 - $3.

Therefore, the cost of the Krusty Krab Pizza is $12.