Odpowiedź:
#include <iostream>
using namespace std;
int main()
{
float zl;
cout << "PROGRAM KANTOR" << endl;
cout << "tu wpisz swoje imie i date" << endl;
cout << "Podaj wartosc wyrazona w zlotowkach: ";
cin >> zl;
float dolar=zl/(float)3.8;
float frank=zl/(float)4.12;
float euro=zl/(float)4.55;
float jen=zl/(float)0.035;
cout << zl << "zlotych to: " << dolar << " dolarow" << endl;
cout << zl << "zlotych to: " << frank << " frankow" <<endl;
cout << zl << "zlotych to: " << euro << " euro" <<endl;
cout << zl << "zlotych to: " << jen << " jenow" <<endl;
return 0;
}
Wyjaśnienie:
W linijce
cout << "tu wpisz swoje imie i date" << endl;
wpisz swoje dane.