Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- using namespace std;
- int main()
- {
- char a[] = "Delete lalala(string)";
- int j = 0;
- for (int i = 0; i <= 100; i++)
- {
- if (a[i] == '('){
- do
- {
- cout << a[i]; i++;
- } while (a[i] != ')');
- cout << a[i] << '\n';
- j = 1;
- }
- if (j == 1) break;
- }
- system("pause");
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement