Question 1: Write an if statement that assigns 15 to x when y is greater than or equal to or 7.
(Use single spaces between operands, operators and statements)
Question 2: How many times will "jump" be displayed in the following program segment? If the loop doesn't terminate, write "infinite".
int count = 1;
while (count < 5)
{
cout << "jump" << endl;
count++;
}
Describe each and every question in depth with examples.