1; i < 4; i++) 1; i < 4; i++) for (int i { for (int j = 1; j < 4; j++) { if (i * j > 2) break; for (int i { for (int j = 1; j < 4; j++) { if (i * j > 2) continue; %3D cout <« i * j « end%; } cout <« i * j « endl; } cout << i <« endl; } cout << i <« endl; } (a) (b)
1; i < 4; i++) 1; i < 4; i++) for (int i { for (int j = 1; j < 4; j++) { if (i * j > 2) break; for (int i { for (int j = 1; j < 4; j++) { if (i * j > 2) continue; %3D cout <« i * j « end%; } cout <« i * j « endl; } cout << i <« endl; } cout << i <« endl; } (a) (b)
Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
Related questions
Question
After the break statement in (a) is executed in the following loop, which statement is executed? Show the output. After the continue statement in (b) is executed in the following loop, which statement is executed? Show the output.
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
This is a popular solution!
Trending now
This is a popular solution!
Step by step
Solved in 2 steps with 2 images