Advertisement
Guest User

Untitled

a guest
Nov 13th, 2019
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. #include <iostream>
  2.  
  3. using namespace std;
  4.  
  5. int main()
  6. {
  7. char tab [10];
  8. for (int i=0; i<10 ;i++)
  9. {
  10. tab [i]=0;
  11. }
  12. cout << "Podaj swoje znaki: "<< endl;
  13.  
  14. for (int i=0; i<10 ;i++)
  15. {
  16. cin >> tab[i];
  17. }
  18.  
  19.  
  20. for (int i=0; i<10;i++)
  21. {
  22. cout << "Twoje znaki to : ";
  23. cout << tab[i] << endl;
  24. }
  25. return 0;
  26. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement