Advertisement
Guest User

Untitled

a guest
Apr 26th, 2017
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. #include <iostream>
  2.  
  3. using namespace std;
  4.  
  5. int main()
  6. {
  7. string wpisaneZdanie;
  8. getline(cin, wpisaneZdanie);
  9. int jakaDlugoscTekstu = wpisaneZdanie.length();
  10.  
  11. cout << "Dlugosc wpisanego tekstu to: " << jakaDlugoscTekstu << " znaki";
  12.  
  13. return 0;
  14.  
  15. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement