Computer Science, asked by sasly204800, 6 months ago

C Language
Who am I?
1 lam used to repeat the execution statement for some fixed number of times. Who am I?
2. I am an if statement which contains another if statement. Who am I?
3. l am used to exit from the loop structure, Who am I?
4. l am an input function. Who am I?
5. l am a output function. Who am I?​

Answers

Answered by mahinderjeetkaur878
4

1 Loop

2 nested if

3 break statement

4 scanf function

5 printf function

1. You are a for loop. You repeat the execution of a statement for a fixed number of times. The syntax for a for loop is:

for (initialization; condition; increment/decrement) {

// statements to be executed

}

2. You are a nested if statement. You are an if statement that contains another if statement within its body. You are used to test multiple conditions and execute different statements based on those conditions. The syntax for a nested if statement is:

if (condition1) {

// statements to be executed if condition1 is true

if (condition2) {

// statements to be executed if both condition1 and condition2 are true

}

}

3. You are the break statement. You are used to exit from a loop structure, such as a for loop or while loop, prematurely. When the break statement is encountered, the loop is terminated and control is transferred to the next statement after the loop.

4. You are the scanf function. You are used to read input from the user through the standard input stream, usually the keyboard. The syntax for the scanf function is:

scanf("format string", &variable1, &variable2, ...);

The format string specifies the format of the input to be read, and the variables are the memory locations where the input values will be stored.

5. You are the printf function. You are used to print output to the standard output stream, usually the console. The syntax for the printf function is:

printf("format string", variable1, variable2, ...);

The format string specifies the format of the output to be printed, and the variables are the values to be printed.

To know more: -

https://brainly.in/question/8140325?referrer=searchResults

https://brainly.in/question/7026704?referrer=searchResults

#SPJ1

Answered by trannapurna1958
2

Answer:

1. For loop

2. nested if statement

3. Break statement

4. scanf( )

5. printf( )

Similar questions