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
To divide 2 numbers with the same base, subtract the exponents.
ira [324]
Wait what are you asking 
5 0
2 years ago
If the discriminant of a quadratic equation is equal to -8, which statement describes the roots?
Dovator [93]

Keywords

quadratic equation, discriminant, complex roots, real roots

we know that

The formula to calculate the <u>roots</u> of the <u>quadratic equation</u> of the form  ax^{2} +bx+c=0 is equal to

x=\frac{-b(+/-)\sqrt{b^{2}-4ac}}{2a}

where

The <u>discriminant</u> of the <u>quadratic equation</u>  is equal to

b^{2}-4ac

if  (b^{2}-4ac)> 0 ----> the <u>quadratic equation</u> has two <u>real roots</u>

if  (b^{2}-4ac)=0 ----> the <u>quadratic equation</u> has one <u>real root</u>

if  (b^{2}-4ac)< 0 ----> the <u>quadratic equation</u> has two <u>complex roots</u>

in this problem we have that

the <u>discriminant</u> is equal to -8

so

the <u>quadratic equation</u> has two <u>complex roots</u>

therefore

the answer is the option A

There are two complex roots

5 0
3 years ago
Read 2 more answers
I need help please. Which graph shows y=⌊x⌋+2?
slavikrds [6]

Answer: Top right graph.

Step-by-step explanation:

The function ⌊x⌋ rounds the value x to the lower whole number.

for example:

⌊1.5⌋ = 1

⌊1.923⌋ = 1

⌊2.0⌋ = 2

then, the graph of ⌊x⌋ will be a black dot in the each whole number, and a horizontal segment to the right that ends with a white dot in the next whole number. Right above the white dot, we have another black dot, and it repeats.

if we have ⌊x⌋ + 2, we move te previous graph 2 units upwards, then the correct option is the top right graph.

You can check some points if you like:

f(0) = ⌊0⌋ + 2 = 2

f(0.5) = ⌊0.5⌋ + 2 = 2

f(1) = ⌊1⌋ + 2 = 3

So in x = 0 we have a black dot in y = 2, and in x = 1 we have a white dot in y = 2 and a black dot in y = 3.

5 0
2 years ago
Can 3 points be Collinear
iren2701 [21]
Three and more points are collinear
5 0
3 years ago
Read 2 more answers
Jonah drives from his car to and from work. The total length of the trip to and from work is 19.2 miles. In August, Jonah worked
natita [175]
ANSWER

The total length of the trip to and from work in August is

403.2 \: miles

EXPLANATION

The total length of the trip to and from work is

19.2 \: miles

If Jonah worked 21 days in August,

Then, the total length of the trip to and from work is
= 21 \times 19.2 \: miles

Change the decimal to fraction and multiply,

= 21 \times \frac{192}{10} miles

= \frac{21 \times 192}{10}

= \frac{4032}{10} miles

Convert back to decimal

= 403.2 \: miles
6 0
3 years ago
Other questions:
  • Will give brainliest please help asap
    6·1 answer
  • PLEASE HELP ME!
    6·1 answer
  • What is the closest circumference of a well
    6·1 answer
  • Which number is irrational?
    15·1 answer
  • The intersection of a plane and a ray can be a point true or false
    9·2 answers
  • Calculate the product in square (m2)
    15·1 answer
  • A box contains 100 colored chips; some are yellow and some are green. John chooses a chip at random, records the color, and plac
    5·1 answer
  • Why are rates usually written as a unit rate
    13·1 answer
  • Will mark branliest
    12·1 answer
  • A particular project can be completed by six people working eight hours a day for twenty days. To speed up completion of the pro
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!