April 2021 1 111 Report
Sapete aiutarmi con un esercizio di informatica?

 In un supermercato il prezzo del prodotto è legato alla quantità: se si comprano 3 prodotti dello stesso tipo, uno è in regalo; se si comprano 1 o 2 prodotti non c’è regalo.

Calcolare il prezzo da pagare, inserendo in input il prezzo unitario e la quantità.

Aggiornamento:

In C++


Please enter comments
Please enter your name.
Please enter the correct email address.
You must agree before submitting.

Answers & Comments




Helpful Social

Copyright © 2024 QUIZSILO.COM - All rights reserved.