Proba 1
Brojevi do 10
<div class="container mt-4">
<table>
<tr>
<td>
<B>Kupovina i prodaja čokolade 🍫</B>
<BR>
Ana je potrošila 10 € na kupovinu čokolade. Izračunajte koliko čokolade je Ana kupila i koliko joj je ostalo novca. U tablici su prikazani rezultati izračuna za dva primjera.
</td>
<td><img src="/pic/cokolada.png" width="100"/></td>
</tr>
</table>
<table class="table table-bordered table-striped" style="background-color: white;">
<thead class="thead-dark">
<tr>
<th class="text-center">Kupovina</th>
<th></th>
<th class="text-center">Potrošeno novca</th>
<th class="text-center">Količina čokolade</th>
<th class="text-center">Preostali novac</th>
</tr>
</thead>
<tbody>
<tr>
<td class="text-center">1</td>
<td>Market "Sladokusac"</td>
<td class="text-center">10 €</td>
<td class="text-center">7 komada</td>
<td class="text-center">§§V10(1,10,1)§§ €</td>
</tr>
<tr>
<td class="text-center">2</td>
<td>Trgovina "Čokoladno carstvo"</td>
<td class="text-center">§§V4(1,10,1)§§ €</td>
<td class="text-center"></td>
<td class="text-center"></td>
</tr>
<tr>
<td class="text-center">3</td>
<td>Market "ChocoDream"</td>
<td class="text-center">§§V6(1,5,1)§§ €</td>
<td class="text-center"></td>
<td class="text-center"></td>
</tr>
<tr>
<td class="text-center">4</td>
<td>Trgovina "SweetTooth"</td>
<td class="text-center">§§V3(1,15,1)§§ €</td>
<td class="text-center"></td>
<td class="text-center"></td>
</tr>
<tr>
<td class="text-center">5</td>
<td>Market "ChocoLand"</td>
<td class="text-center">§§V8(1,3,1)§§ €</td>
<td class="text-center"></td>
<td class="text-center"></td>
</tr>
<tr>
<td colspan="3" class="text-end">Ukupno kupljeno čokolade</td>
<td class="text-center"></td>
<td class="text-center"></td>
</tr>
</tbody>
</table>
</div>