Consider the following for loops. Express the number of times "hello" is printed in a Sequence for part 1, 2 and 3. Writ
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
Consider the following for loops. Express the number of times "hello" is printed in a Sequence for part 1, 2 and 3. Writ
Consider the following for loops. Express the number of times "hello" is printed in a Sequence for part 1, 2 and 3. Write the closed form of the sequence written for part 1, 2 and 3. 1) 2) 3) for (int i=1;i:j--) {cout<<"hello"<<"\n":) (std::cout<<"hello"<<"\n";} (std::cout<<"hello"<<"\n";} std::cout<<"bye"; } } }
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!