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.
Answer:
jQuery uses CSS selector to select elements using CSS. Let us see an example to return a style property on the first matched element. The css( name ) method returns a style property on the first matched element.
Answer:
BRO I WANNA!
My among us name is "A cop"
What time?
Explanation:
Answer:
Explanation:
Gibbons v. Ogden (1824) was a historical decision, where the congress of the United Stated wants to regular interstate commerce. This was a legal fight about the potential of the new steamboat navigation, in the Supreme Court of the United States between the best layers in those days.
This decision of the U.S. Supreme Court was Congress had the right to regulate interstate commerce.