Calculate the table totals
Go ahead... commit the treachery of using vim as a spreadsheet.
Start file
+--------------+--------+----------+---------+ | Item | Cost | Amount | Total | +==============+========+==========+=========+ | Apple | 2.00 | 3 | | +--------------+--------+----------+---------+ | Orange | 2.50 | 4 | | +--------------+--------+----------+---------+ | Banana | 1.00 | 6 | | +--------------+--------+----------+---------+ | Kiwi | 7.00 | 5 | | +--------------+--------+----------+---------+ | Mango | 5.00 | 2 | | +--------------+--------+----------+---------+ | Plum | 4.00 | 9 | | +--------------+--------+----------+---------+ | Nectarine | 3.50 | 7 | | +--------------+--------+----------+---------+ | Watermelon | 5.00 | 3 | | +--------------+--------+----------+---------+ | Grapes | 4.00 | 2 | | +--------------+--------+----------+---------+ | Tangerine | 5.00 | 6 | | +--------------+--------+----------+---------+
End file
+--------------+--------+----------+---------+ | Item | Cost | Amount | Total | +==============+========+==========+=========+ | Apple | 2.00 | 3 | 6.00 | +--------------+--------+----------+---------+ | Orange | 2.50 | 4 | 10.00 | +--------------+--------+----------+---------+ | Banana | 1.00 | 6 | 6.00 | +--------------+--------+----------+---------+ | Kiwi | 7.00 | 5 | 35.00 | +--------------+--------+----------+---------+ | Mango | 5.00 | 2 | 10.00 | +--------------+--------+----------+---------+ | Plum | 4.00 | 9 | 36.00 | +--------------+--------+----------+---------+ | Nectarine | 3.50 | 7 | 24.50 | +--------------+--------+----------+---------+ | Watermelon | 5.00 | 3 | 15.00 | +--------------+--------+----------+---------+ | Grapes | 4.00 | 2 | 8.00 | +--------------+--------+----------+---------+ | Tangerine | 5.00 | 6 | 30.00 | +--------------+--------+----------+---------+
View Diff
4c4 < | Apple | 2.00 | 3 | | --- > | Apple | 2.00 | 3 | 6.00 | 6c6 < | Orange | 2.50 | 4 | | --- > | Orange | 2.50 | 4 | 10.00 | 8c8 < | Banana | 1.00 | 6 | | --- > | Banana | 1.00 | 6 | 6.00 | 10c10 < | Kiwi | 7.00 | 5 | | --- > | Kiwi | 7.00 | 5 | 35.00 | 12c12 < | Mango | 5.00 | 2 | | --- > | Mango | 5.00 | 2 | 10.00 | 14c14 < | Plum | 4.00 | 9 | | --- > | Plum | 4.00 | 9 | 36.00 | 16c16 < | Nectarine | 3.50 | 7 | | --- > | Nectarine | 3.50 | 7 | 24.50 | 18c18 < | Watermelon | 5.00 | 3 | | --- > | Watermelon | 5.00 | 3 | 15.00 | 20c20 < | Grapes | 4.00 | 2 | | --- > | Grapes | 4.00 | 2 | 8.00 | 22c22 < | Tangerine | 5.00 | 6 | | --- > | Tangerine | 5.00 | 6 | 30.00 |
Solutions by @h_east:
Unlock 2 remaining solutions by signing in and submitting your own entry