The area of a square is simply the square of the side. So, you only need to write a program that receives a number as input, which is the side of the square, and returns that number squared, which will be the area of the square.
You didn't specify any language, so for example here's a C implementation that receives the side from the user and returns the area:
#include <stdio.h>
int main()
{
double side, area;
do{
printf("Enter the side of the square (must be >0): ");
scanf("%lf", &side);
} while(side<=0);
area = side * side;
printf("The area is %lf", area);
}
Answer:
laser
Explanation:
These are well known printer types now. Let's review how they work to determine in which does heat plays a role.
inkjet: inkjet printers are printer throwing ink at the paper in the form of little drops. No heat involved here.
impact: That's the oldest technology, where a printing head is moving left and right to punch a printing ribbon and transfer ink onto the paper. No heat involved.
3D: 3D printers don't usually use paper... as they use other materials to create a 3D representation of a model. Heat is involved in the melting of the material before it's placed on the building model. But no paper involved here.
laser: laser printers are working very much like a photocopier machine... memorizing the pattern to be printed, then transferring it onto paper... using heat.
Answer:
try powering it off the turn it back on
Explanation:
#This is a way without a loop
friends = list(map(str,input("Enter Names: ").split()))
print(sorted(friends))
#This is a way with a loop (for&&while)
friends = list(map(str,input("Enter Names: ").split()))
cool = True
while cool:
cool = False
for i in range(len(friends)-1):
if friends[i] > friends[i+1]:
coo = friends[i]
friends[i] = friends[i+1]
friends[i+1] = coo
cool = True
print(friends)
Explanation:
The working directory is just a file path on your computer that sets the default location of any files you read. If you want to read a file 'file.txt'.