Computer Science, asked by sivarpf2013, 1 month ago

convert the following if else to a single condition statement​

Answers

Answered by Bhavya7108
0

Answer:

write the full question buddie :)

Answered by Anonymous
2

Answer:

  1. Place your cursor in the if keyword.
  2. Place your cursor in the if keyword.Press Ctrl+. to trigger the Quick Actions and Refactorings menu.
  3. Place your cursor in the if keyword.Press Ctrl+. to trigger the Quick Actions and Refactorings menu.Select from the following two options: Select Convert to 'switch' statement. Select Convert to 'switch' expression.

Similar questions