Answer:
# include<math.h>
# include<stdlib.h>
# include<stdio.h>
int main()
{
int choice;
double area;
printf("Enter the area of Square:");
scanf("%lf", &area);
printf("Enter the choice: 1, 2:");
scanf("%d", &choice);
switch(choice)
{
case 1:if(area<0.00)
{
printf(" INVALID");
break;
}
else
{
printf("side of square: %lf", sqrt(area));
break;
}
break;
case 2: break;
}
return 0;
}
Explanation:
Here, if area is less than 0 then invalid message is printed out. And if area is more than 0 then the sqrt is calculated and the side of a square length is being printed out. And that is what is required. lf is for double. And math.h is included to make use of the sqrt function.
NOS stands for Network operating system. The NOS system is used to manage the network and to provide security for it. It supports the <span>workstations, database sharing, application sharing and file sharing.</span>
<span>These statements describe the NOS.(choose all that applies)
D. gives users access privileges
E. provides an administrator interface</span>
Answer:
people = list(map(int, input().split())) # gets input and makes them into an integer
for i in range(len(people)):
if 0 <= people[i] <= 5:
print('Baby') # You didn't specify how you want to 'store' the info, but I'm just going to print it out
elif 6 <= people[i] <= 17:
print('Teen')
elif 18 <= people[i]:
print('Adults')
Explanation:
This is the basic structure of the code. This is written in Python 3x. If you are writing in a different language, then just use the template given to you!
Answer:
dependability
Explanation:
devon keeps his commitment
Answer:
the answers are in front of you it is correct to follow the steps
¯\_(ツ)_/¯: