" Life is not a problem to be solved but a reality to be experienced! "
© Copyright 2013 - 2025 KUDO.TIPS - All rights reserved.
#include <cstdlib>
#include <iostream>
using namespace std;
int main(int argc, char *argv[])
{
float zl=0, dol=0, kurs=3.23;
printf("Program przeliczy kwote w zl na dolary po kursie %.2f\n\n\n", kurs);
cout << "Podaj kwote w ZLOTOWKACH: "; cin >> zl;
dol=zl*kurs;
printf("%.2f zl to %.2f $ po kursie %.2f.\n\n\n", zl,dol,kurs);
system("PAUSE");
return EXIT_SUCCESS;
}