1. DOS is single tasking OS. Windows is multi-tasking OS.
2. DOS consumes quite low power. Windows consumes high power.
3. DOS memory requirements are quite low. Windows memory requirements are quite high as compared to DOS.
4. DOS has no support for networking. Windows supports networking.
5. Multimedia is not supported in DOS. Windows supports multimedia likes games, videos, audios etc.
Answer:
return a specific value, calculation or message if certain condition met
Explanation:
"if" is used for conditional statements that means, do some work if the condition is met against that logic.
e.g.
If (a > 5)
{
Show "a is greater than 5"
}
so if we put a= 6 than condition met and given statement will be shown on out put as "a is greater than 5".