Define variables
left is l
right is r
Ask input
left or right
Ask input value
Equate l or r to the input value
Show ladder with steps equal to input value and in the side of input variable
<u>Answer</u>:
<em>It is possible to sort data in word. For doing this, you must have content in the form of list.
</em>
<u>Explanation:</u>
<em>1. Select the text in numbered list / bulleted list
</em>
<em>2. Click on the Home tab, Paragraph group, Click on Sort. You well get a Sort Text dialog box</em>
<em>3. In the dialog box , Click Paragraph, Text, Ascending / descending. So you can change the way it sorted by using the same dialog box whenever required.
</em>
<em>
In addition to sorting text, you can sort date and also sort number.
</em>
Answer:
An operating system can be categorized according to both the given options. Thus answer is option C
Explanation:
An operating system should support multiple logins. Because the login plays a major role and that is the need and mainly in the organization where one system will be shared by multiple users. Also, Operating system should perform multi-tasking. This efficiency is required so that the user completes the work very faster and he need not wait to go for the next task.
For example an operating system handles user’s task, background tasks, keep track of the status of the devices, allots output device to the requested user and so on.
Answer:
15
Explanation:
if ..else is the conditional statement which is used to check the condition is true or not, if the condition is true that execute the particular statement and if not it moves to else part for execution.
if condition is more than two we can use continuous if else statement
Syntax:
if(condition)
{
statement;
}else if(condition)
{
statement;
}else
{
statement;
}
In the code:
The value of the input is 5.
first it goes to if part and check condition if 5 > 5, condition false it equal to 5 not greater than 5.
it then moves to else if part and check condition if 5 > 2, condition is true,
it execute the code inside the else if part. so, input_value become
5+10 which 15.
after that, program control terminate the if else statement it does not check further.