quhluh

Untitled

Mar 26th, 2023
371
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.14 KB | None | 0 0
  1. int x = 10;
  2. string s = "hello world";
  3. for (int i = 0; i < x; i++) {
  4. if (s[i] == 'l') {
  5. cout << "found an l!" << endl;
  6. }
  7. }
Advertisement
Add Comment
Please, Sign In to add comment