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:
The three super computers are
a) Fujitsu Fugak
b) IBM Summit/IBM/Nvidia/Mellanox
c) Sunway TaihuLigh
Explanation:
Three super computers are as follows
a) Fujitsu Fugak - It is located in Kobe, Japan and its costs is ¥130 billion
b) IBM Summit/IBM/Nvidia/Mellanox - It is located in Oak Ridge, U.S. and it costs $325 million
c) Sunway TaihuLigh- It is located in Wuxi, China and it costs US$273 million
Answer:
Internet Security & Acceleration Server (ISA)
Explanation:
<h2><u>Fill in the blanks </u></h2>
Microsoft <u>Internet Security & Acceleration Server (ISA)</u> is a complex, full-featured firewall that includes stateful packet filtering as well as proxy services, NAT, and intrusion detection.
Answer:
The answer is YES.
Explanation:
<em>Things pertaining to weapons, destructive materials should be shared with precautions or much better if these things should not be put online. Since internet is widely available to almost all types of users and almost to all places, we cannot be sure of who will get hold of these information. Kids could easily see this and gain knowledge and out of curiosity will try these dangerous things. Terrorist groups will also have access to these information and who knows might happen to poor innocent souls around. </em>
<em>
</em>
<em>I don't think it would violate the right of First Amendment regarding freedom of speech. Freedom should be granted on matters that are most sensible. And this time, we are just protecting the rights of children and other innocent people who can be a victim including you. We are talking about weapons and destructive materials here which is non beneficial if one could get hold of this information, in my opinion. If there is really a need to construct these things, it is better to consult an expert or an authority to ensure that nobody gets harm.</em>
Answer:
Use the keyword def to declare the function and follow this up with the function name.
Add parameters to the function: they should be within the parentheses of the function. ...
Add statements that the functions should execute.