1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Illusion [34]
3 years ago
13

Write a complete program thatdeclares an integer variable,reads a value from the keyboard into that variable, andwrites to stand

ard output the square of the variable's value.besides the number, nothing else should be written to standard output.
Mathematics
1 answer:
ch4aika [34]3 years ago
4 0
#include

int main()
{
int num;
scanf("%d", &num);
printf("%d", num*num);
return 0;
}
You might be interested in
How to perform aerial math for following:<br><br> 5.1 x 3.5 X 0.5+9.4
iris [78.8K]
I could be wrong, but I would say it's 18.325
4 0
2 years ago
Simplify each expression. Assume that all variables are positive.
kozerog [31]
Q1. The answer is  \frac{8x^{3}y^{6}  }{27}

( \frac{16 x^{5} y^{10}}{81x y^{2} } )^{ \frac{3}{4} }= ( \frac{16}{81}* \frac{ x^{5} }{x}* \frac{ y^{10} }{y^{2}}   )^{ \frac{3}{4} } \\  \\ &#10;  \frac{ x^{a} }{ x^{b} }= x^{a-b}  \\  \\ &#10;( \frac{16}{81}* \frac{ x^{5} }{x}*\frac{ y^{10} }{y^{2}}   )^{ \frac{3}{4} }}=( \frac{16}{81 }* x^{5-1}* y^{10-2})^{ \frac{3}{4} }=( \frac{16}{81 }* x^{4}* y^{8})^{ \frac{3}{4} }= \\  \\ = (\frac{16}{18} )^{ \frac{3}{4} }*(x^{4})^{ \frac{3}{4} }*(y^{8})^{ \frac{3}{4} }=
\frac{(16)^{ \frac{3}{4} }}{(18)^{ \frac{3}{4} }}*(x^{4})^{ \frac{3}{4} }*(y^{8})^{ \frac{3}{4} }=\frac{( 2^{4} )^{ \frac{3}{4} }}{( 3^{4} )^{ \frac{3}{4} }}*(x^{4})^{ \frac{3}{4} }*(y^{8})^{ \frac{3}{4} } \\  \\ &#10; (x^{a} )^{b} = x^{a*b}  \\  \\ &#10;\frac{( 2^{4} )^{ \frac{3}{4} }}{( 3^{4} )^{ \frac{3}{4} }}*(x^{4})^{ \frac{3}{4} }*(y^{8})^{ \frac{3}{4} } =  \frac{ 2^{4* \frac{3}{4} } }{ 3^{4* \frac{3}{4} } } * x^{4* \frac{3}{4} } * y^{8*\frac{3}{4}} = \frac{ 2^{3} }{ 3^{3} } * x^{3} *y^{6} = 
= \frac{8x^{3}y^{6}  }{27}

Q2. The answer is 1/16

(-64) ^ \frac{-2}{3} =(-1* 2^{6} ) ^ \frac{-2}{3}=(-1)^ \frac{-2}{3} *(2^{6} ) ^ \frac{-2}{3} \\\\x^{-a} =  \frac{1}{ x^{a} } \\\\(-1)^ \frac{-2}{3} *(2^{6} ) ^ \frac{-2}{3} = \frac{1}{(-1)^ \frac{2}{3}} *\frac{1}{(2^{6})^ \frac{2}{3}} \\  \\  (x^{a} )^{b}=x^{a*b} \\\\x^{ \frac{a}{b} = \sqrt[b]{ x^{a} } }  \\  \\ &#10;
\frac{1}{(-1)^ \frac{2}{3}} *\frac{1}{2^{6*\frac{2}{3}}} = \frac{1}{ \sqrt[3]{(-1)^{2} } } * \frac{1}{ 2^{4} } =  \frac{1}{ \sqrt[3]{1} } * \frac{1}{16} = \frac{1}{1} * \frac{1}{16}= \frac{1}{16}


Q3. The answer is a^{ \frac{7}{6} }

a^{ \frac{2}{3} } * a^{ \frac{1}{2} }  \\  \\ &#10; x^{a}* x^{b}  =x^{a+b}  \\  \\ &#10;a^{ \frac{2}{3} } * a^{ \frac{1}{2} }= a^{ \frac{2}{3} + \frac{1}{2} } =a^{ \frac{2*2}{3*2} + \frac{1*3}{2*3} }=a^{ \frac{4}{6} + \frac{3}{6} }=a^{ \frac{4+3}{6} }=a^{ \frac{7}{6} }
7 0
3 years ago
Find the product of 485 and 112
RoseWind [281]
The product is 54320
8 0
3 years ago
The people described spent their money during different time periods. Label each of their scenarios as to whether they bought th
bonufazy [111]

Answer:

  1. Peter is a compulsive gamer. He decides to buy World of Warcraft, all of its expansions, Starcraft 2, a PS3, a Wii, and an Xbox 360 since prices in general have been rising at an alarming rate. <u>INFLATION </u>
  2. <u> </u>Melissa decides to start her own personal library and chooses to amass a private collection of books and magazines about world religions, cooking, comics, and economics. As she reads an issue of The Economist, she discovers overall price levels have changed only 0.01% in the past 2 years and decides it doesn't matter whether she starts the project now or later. <u>PRICE STABILITY</u>
  3. Linda postpones her wedding even though most food prices and most service prices were dropping this year, which would help keep the cost of the wedding down.  <u>DEFLATION</u>

<u>Linda's</u> money earned the most value because deflation means that the currency is gaining value as time passes. It is the opposite to inflation where a currency loses value as time passes.

5 0
4 years ago
What is the volume of the pyramid (base: 7in. , height: 9in. , length 8in.)
Anna71 [15]

Answer:

504

Step-by-step explanation:

7*8*9=504

6 0
3 years ago
Other questions:
  • Why must the value of the sine ratio for an acute angle
    13·1 answer
  • What is the most common multiples of 2 an 5
    11·1 answer
  • Pleaseee help!
    13·1 answer
  • How do you convert 270 kph to mph?
    13·1 answer
  • shelley spent 17 minutes washing the dishes. she spent 38 minute cleaning her room. Explain how can use mental math to find how
    5·1 answer
  • What is 4w to the power of -3 divided by 3 to the power of -2+ w to the power of 7 + x to the power of -2
    12·1 answer
  • What’s the Answer please
    9·1 answer
  • By installing efficient water fixtures, the average American can reduce water use to about 45 gallons of water per day. Using su
    14·2 answers
  • What is the scale factor?
    8·1 answer
  • Select the correct answer.
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!