Translate
venerdì 26 settembre 2014
N°5
// DATO IN IMPORTO IN EURO SE NE VUOLE CONOSCERE IN CORRISPONDENTE VALORE IN DOLLARI, SAPENDOCHE IL CAMBIO EURO/DOLLARO E PARI A 1,010
#include "stdafx.h"
#include <windows.h>
int _tmain(int argc, _TCHAR* argv[])
{
float euro, dollaro=1.010, risultato;
printf("Digita il valore in euro :\t");
scanf_s("%f", &euro);
printf("il valore in dollaro e pari a $ %f\t\n", dollaro);
risultato = euro*dollaro;
printf("il cambio euro/dollado e uguale a :\t%f\n", risultato);
system("pause");
return 0;
<<< LISTA
}
Iscriviti a:
Commenti sul post (Atom)
Nessun commento:
Posta un commento