dsreilly8278 dsreilly8278
  • 04-07-2018
  • Mathematics
contestada

Write a complete program thatdeclares an integer variable,reads a value from the keyboard into that variable, andwrites to standard output the square of the variable's value.besides the number, nothing else should be written to standard output.

Respuesta :

bhoomikabodani bhoomikabodani
  • 04-07-2018
#include

int main()
{
int num;
scanf("%d", &num);
printf("%d", num*num);
return 0;
}
Answer Link

Otras preguntas

Factor the expression. If the expression cannot be factored, say so.
What's 5 divided by x squared explain
Does an owl have a backbone?
Thelma spent 1/6 of her weekly allowance on dog toys.  1/4 on a dog collar and 1/3 on dog food.  What fraction of her weekly allowance is left
What all the multiples of 81?
The ______ was established in 1943 to assist in the transition from a peacetime to a wartime economy ?
find the sum. write each mixed number in simplest form 4 7/8 + 5 1/4
A blue rope is 3 times the length as a red rope. A green rope is 5 times as log as the blue rope of the total length of all 3 ropes equals 508.25m what is the l
What's 5 divided by x squared explain
Forget the motor When im on the boat Think of the best time To buy a new coat What am I......?