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

transformering moments diary entry​
what are the exact values for x and y
5. The burning of fossil fuels has increased the carbon dioxide content of the atmosphere. What is a possible effect that the increased amount of carbon dioxide
How many NH3 molecules are produced by the reaction of 4.0 mol of Ca(OH)2 according to the following equation: (NH4)2SO4 + Ca(OH)2 → 2 NH3 + CaSO4 + 2 H₂O
if 7544644555- x is 45000 whats the value of x
Please could you explain this step by step I’m really stuck.
(PLEASE SOMEONE HELP BRO). Use the drop-down to complete the following inequality. 
Solve for h h - 3h - 8 = 14 H=?
HELP ASAP WILL GIVE BRAINLIST
Item 11 In the table, Pattern A uses the rule "add 5" and Pattern B uses the rule "add 10." Pattern A 10 15 20 25 30 Pattern B 20 30 40 50 60 Which statement is