20 lines
421 B
Plaintext
20 lines
421 B
Plaintext
Digits := 50;
|
|
tax := .0765;
|
|
|
|
burgersquantity := 4000000000000000;
|
|
burgersprice := 5.50;
|
|
burgerscost := burgersquantity * burgersprice;
|
|
|
|
milkshakesquantity := 2;
|
|
milkshakesprice := 2.86;
|
|
milkshakescost := milkshakesquantity * milkshakesprice;
|
|
|
|
total := burgerscost + milkshakescost;
|
|
printf("%.2f\n",total);
|
|
|
|
totaltax := total * tax;
|
|
printf("%.2f\n",totaltax);
|
|
|
|
totalprice := totaltax + total;
|
|
printf("%.2f\n",totalprice);
|