English

A physical education teacher asks the students to do the side stretch as shown below, 10 times. Which programming construct the teacher uses? - Computer Applications

Advertisements
Advertisements

Question

A physical education teacher asks the students to do the side stretch as shown below, 10 times. Which programming construct the teacher uses?

Options

  • if

  • switch

  • for

  • if else if

MCQ
Advertisements

Solution

for

Explanation:

Since the work done here is repetitive in nature, the for programming construct is used here.

shaalaa.com
  Is there an error in this question or solution?
2024-2025 (March) Official Board
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×