#include <iostream>
using namespace std;
// Ananda Rakhma Aulia
// 3420220024
int main() {
float hargaSatuan = 10250.75f;
int jumlahBeli = 6;
float subtotal;
float diskon;
float total;
subtotal = hargaSatuan * jumlahBeli;
diskon = subtotal * 0.10f;
total = subtotal - diskon;
printf("------------------------------------\n");
printf("Program Penjualan Marshmallow Plain\n");
printf("------------------------------------\n");
printf("%-15s : Rp %.2f\n", "Harga Satuan", hargaSatuan);
printf("%-15s : %d\n", "Jumlah Beli", jumlahBeli);
printf("------------------------------------\n");
printf("%-17s : Rp %.2f\n", "Subtotal", subtotal);
printf("%-17s : Rp %.2f\n", "Diskon 10 Persen", diskon);
printf("%-17s : Rp %.2f\n", "Total", total);
printf("------------------------------------\n");
return 0;
}