Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <iomanip>
- #include <cstdlib>
- using namespace std;
- /* run this program using the console pauser or add your own getch, system("pause") or input loop */
- int main(int argc, char** argv) {
- cout << "Witaj informatyku LUL \n" << endl;
- float metry,cale,stopy,mile,jardy;
- cout <<"Podaj dlugosc w metrach: " ;
- cin >> metry;
- cout << "\nMetry: "<< metry;
- cale= metry*0.0256;
- cout << "\nCale: " << cale;
- stopy = metry*0.3048;
- cout << "\nStopy: " << stopy;
- mile = metry*0.00062137;
- cout << "\nMile: " << mile;
- jardy = metry*0.9144;
- cout << "\nJardy: " << jardy;
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement