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.
I think it C i hope this helps and if it was wrong im sorry
Answer:I would need more information to help you ut, sorry
Explanation:
Answer:
The answer is "Option a"
Explanation:
It is an isolated region insulated from errors in most other Accessibility Areas and provides low-cost, network connectivity to all other Accessibility Locations in the same country. The positions of the AWS data centers were not described in terms of duplication regions, regional areas or computing areas, and wrong choices were explained as follows:
- In option b, In the AWS there is no use of the replication area, that's why it's incorrect.
- In option c, It is used in a single purpose, that's why it's incorrect.
- In option d, It provides the accessibility to the user to access the large amount of data, that's why it is wrong.
Answer:
b. False
Explanation:
False, unchecked exceptions do not cause compilation errors and do not require try/catch blocks or throws statements. However, although they are not required it is good programming to include them in order to handle any exceptions that may arise. If you do not include a proper way to handle such an exception the program will still run but may run into an exception during runtime. If this occurs then the entire program will crash because it does not know how to handle the exception since you did not provide instructions for such a scenario.