Odpowiedź:
#include<iostream>
using namespace std;
int main()
{
float a;
cout << "Podaj dlugosc: ";
cin >> a;
cout << a << " z metrow na centymetry to: " << a*100 << endl;
cout << a << " z kilometrów na metry to: " << a*1000 << endl;
cout << a << " z kilometrów na centymetry to: " << a*100000 << endl;
cout << a << " z centymetrów na milimetry to: " << a*10 << endl;
return 0;
}
" Life is not a problem to be solved but a reality to be experienced! "
© Copyright 2013 - 2024 KUDO.TIPS - All rights reserved.
Odpowiedź:
#include<iostream>
using namespace std;
int main()
{
float a;
cout << "Podaj dlugosc: ";
cin >> a;
cout << a << " z metrow na centymetry to: " << a*100 << endl;
cout << a << " z kilometrów na metry to: " << a*1000 << endl;
cout << a << " z kilometrów na centymetry to: " << a*100000 << endl;
cout << a << " z centymetrów na milimetry to: " << a*10 << endl;
return 0;
}