AdvertiseDonate
Sat, Dec 5, 2026New YorkJersey CityNewarkPhiladelphiaBaltimoreBostonWashingtonRichmond
Live Media Online · 594 Dean Street, Brooklyn, NY 11238

Latest stories

  1. Hampton talks advance for United backed soccer stadium
  2. December 5 Marks Gold Rush, Prohibition End and Labor Merger
  3. Boston Uses Disaster Plans For Medicaid Cuts
  4. Third-country deportations: U.S. paperwork showed Mexico, man ended in Central African Republic
  5. BWI Airport Water Traced To Anne Arundel Aquifers, Soil Records Show
Tech · AI

1 cent left over is the test for a 38 dollar lunch

A restaurant check splitter built with Claude Codex can assign items to people and split tax and tip by share, and the article shows how to test it with a $20 and $10 entrée example.

By Julian Schulz ·

Illustration for: 1 cent left over is the test for a 38 dollar lunch
Illustration generated for this article, not a news photograph.

One cent left over is the sign a bill splitter is not finished.

The article dated 2026-12-03 walks through reverse engineering an app with AI by starting from the result you want and working backward. The example used is a restaurant check where a $38 lunch for one person comes from splitting evenly after shared items and drinks.

Three rules drive the build. Each menu item is linked to the person who ordered it. Shared dishes are divided among the people selected. Tax and tip are entered as dollar amounts and divided in proportion to each person’s share of food and drinks. The totals for each person are shown itemized and add up to the full check down to the cent.

A test case is given with two people. One orders a $20 entrée, the other a $10 entrée, and they share a $10 appetizer. Tax is $4 and tip is $4. The person with the $20 entrée should owe $30. The other person should owe $18.

The article recommends writing one example before writing a prompt. Three people split a $12 appetizer, each owes $4. Adding a fourth person to the table should not change the shares unless that person is assigned to the dish. The same logic applies to a $10 dish split three ways. If the app charges everyone $3.33, it is a penny short.

The prompt described for Claude is to build a restaurant bill splitter as an interactive Artifact. Let the user add people by name, enter each menu item and its price, and select who ordered or shared it. Split shared items evenly among the selected people. Provide fields for tax and tip dollars, then divide those amounts in proportion to what each person ordered. Show each person’s itemized share and final total. Make sure all totals add up to the full check.

The article says to try the app first with a check you can verify in your head, then ask the AI to handle the leftover cent and run both checks again. It is easier to catch that at home than with four people waiting to see what they owe.

The method is not limited to bills. The article suggests starting with a task the reader already does by hand, like a recipe scaler that changes servings from four to seven but stops before combining ingredients into one grocery list. That extra step is a good first project because the reader already knows how it should work.

The piece is credited to Amanda Caswell, AI Editor at the report, who is identified as a certified prompt engineer living in New Jersey.

More Tech · Report a business · Got a Story?

Get Live Media Online in your inboxNews you can follow. Free, a few times a week, unsubscribe any time.

Related stories

Get Live Media Online in your inboxNews you can follow. Free, a few times a week, unsubscribe any time.