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
You’re walking down the hall and you overhear someone talking about you behind your back. What would you do and why?
Alina [70]

Answer: Go up and confront them because i hate when people do that!

Step-by-step explanation:

7 0
3 years ago
Read 2 more answers
A car is traveling at a speed of miles per hour. What is the car's speed in kilometers per hour? How many kilometers will the ca
mihalych1998 [28]

Complete Question:

As you may have intentionally forgotten to mention the important data elements in your question like at what rate a car is travelling and number of hours car will travel in required number of miles etc. After a little research it seems I have found the complete question you were supposed to write. Hence, I am answering based on this complete question, but anyways, it would certainly improve your concept. Here is the complete question:

<em>A car is traveling at a rate of 60 kilometers per hour. What is the car's rate in miles per hour? How many miles will the car travel in 4 hours? In your computations, assume that 1 mile is equal to 1.6 kilometers. Do not round your answers.</em>

<em>Answer:</em>

The car will travel 37.5 miles in one hour.

The car travel 150 miles in 4 hours.

<em>Fetching data from Question:</em>

The rate at which car is traveling: 60 kilometers per hour

one mile = 1.6 km

<em>a) How many miles a car will travel in one hour?</em>

<em>b) How many miles will the car travel in 4 hours?</em>

<em>Calculation:</em>

<em>a) How many miles a car will travel in one hour?</em>

As one mile is equal to 1.6 km.

The rate at which car is traveling: 60 kilometers per hour

So, just divide 60 with 1.6 to get in miles

                      i.e. 60/1.6 = 37.5 miles per hour  

So, the car will travel 37.5 miles in one hour.

<em>b) How many miles will the car travel in 4 hours?</em>

As the car will travel 4 hours.

And car travels 37.5 miles in one hour

So, just multiply the number of hours i.e. 4 with the miles in one hour (speed) i.e. 37.5 to calculate the distance in 4 hours. So,

                                 The distance =  speed × time

                                                        =  37.5  × 4

                                                        =  150 miles

So, the car travel 150 miles in 4 hours.

<em />

<em>Keywords: distance, speed, kilometers, miles</em>

<em> learn more about distance travel and speed from brainly.com/question/12580265 </em>

<em> #learnwithBrainly</em>

4 0
3 years ago
Write seven hundredths in standard form
velikii [3]
I think it would be 0.07
6 0
3 years ago
Joe drove 530 miles in hours 15 minutes. What was his average speed pee hour?
scZoUnD [109]
530 divided by 15 is 35.3
4 0
3 years ago
What Is The Probability That The Spinner Will Land On Either Yellow (Y) Or Green (G)?
Sholpan [36]
2/3.
the spinner has 4/6 parts that are y and g, and that simplifies down to 2/3
4 0
3 years ago
Read 2 more answers
Other questions:
  • A square photograph has a perimeter of 20 inches. What is the area of the photograph?
    11·2 answers
  • The quotient of 2x-1 and 3x +5
    10·1 answer
  • you are given a fraction in simplest form.the numerator is not zero. when you write the fraction as a decimal,it is a repeating
    13·1 answer
  • Algebraic expressions for 4 minus the quotient of 25 and p
    14·1 answer
  • Roger is having a picnic for 78guests. He plans to serve each guest at least one hot dog. If each package, p, contains eight hot
    8·1 answer
  • (100 POINTS)The table below shows Karen's distance during the marathon. What is Brianna's rate of
    9·2 answers
  • Please answer in complete sentences. Fully answer all questions. A community sponsored a charity square dance where admission wa
    8·1 answer
  • Which number continues the pattern?
    14·1 answer
  • Helpppp<br> 3x + 10<br> 3x + 2<br> x = [?]
    9·1 answer
  • Which expression is a simplified form of –10g – 4h^2 + 15g – 8h^2 – 4?
    14·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!