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

How does a thick layer of algae growing on the surface of a pond affect the lives of other organisms living in the pond? Need an answer ASAP!!! EMERGENCY!!! Tha
Which direct democracy process allows voters to directly makela ?
Draw and identify the coordinates of the image of the figure after a 90°clockwise rotation about the origin.​
Please help! I don't understand....
helppp! pleaseeeeee (solving the system of equations)
What is the prime factorization of 36?
MATH -- please answer these two
Describe the spatial (physical) features of the Amazon rainforest.
What happened in the 1830s that resulted in a huge expansion in farming and settlement in the mid- west
Guess what letter (in the English alphabet) I’m thinking of to get mark as BRAINLIEST FOR FREE!!! (Three chances)