main()
{int nLength, nWidth, A, B;
printf ("enter length: ");
scanf ("%d", nLength);
printf ("enter Width: ");
scanf ("%d", nWidth);
for(A=1;1<=nWidth;A++)
printf ("*");
printf ("\n");
for (A = 2; A <= nLength -1; A++)
printf ("*");
for (B = 2; B <= nWidth -1; B++)
printf ("*");
printf ("\n");
write a vb program to find the magic square
write a program that reads in the size of the side of square and then pints a hollow square of that size out of asterisks and blanks?
write a c program to accept a number and generate a square root cube and exponential values
A C program to square matrix is a math problem. In the math problem you write down all the outer boundary values of matrix in a circle, then write down the inner value.
How to write a program for mouse in microprocessor?
a triangle then a square :)
You can use the Math.sqrt() method.
int square (int N) return N*N;
To write a program in QBASIC to find the area of a square, you first need to prompt the user to enter the length of one side of the square. You can then calculate the area by squaring the length (multiplying it by itself) and finally display the result. Here's a simple example: INPUT "Enter the length of the side of the square: ", side area = side * side PRINT "The area of the square is: "; area
no
I'm not touching this with a ten-feet pole...
double square (double x) { return x*x; } double cube (double x) { return x*x*x; }