SHOW:
|
|
- or go back to the newest paste.
| 1 | - | #include <string> |
| 1 | + | |
| 2 | using namespace std; | |
| 3 | - | #include <conio.h> |
| 3 | + | |
| 4 | - | |
| 4 | + | |
| 5 | double a,b; | |
| 6 | cout << "Podaj liczbe: "; | |
| 7 | - | std::string strDataurodzenia; |
| 7 | + | cin >> a; |
| 8 | - | std::string strImie; |
| 8 | + | cout << "Podaj druga liczbe: "; |
| 9 | - | std::string strWiek; |
| 9 | + | cin >> b; a +=b; |
| 10 | - | std::string strMiasto; |
| 10 | + | cout << endl << "Wynik: " << a << "."; |
| 11 | - | std::string strNazwisko; |
| 11 | + | cin.sync(); cin.get(); |
| 12 | - | std::string strPesel; |
| 12 | + | return 0; |
| 13 | - | std::string strImieMatki; |
| 13 | + |