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
eimsori [14]
3 years ago
7

Write a program that allows the user to enter a time in seconds and then outputs how far an object would drop if it is in free f

all for that length of time. Assume that the object starts at rest, there is no friction or resistance from air, and there is a constant acceleration of 32 feet per second due to gravity. Use the equation: distance = acceleration x time-squared divided by 2
Computers and Technology
1 answer:
Sonja [21]3 years ago
6 0

Answer:

// here is code inn c++.

#include <bits/stdc++.h>

using namespace std;

// main function

int main()

{

// variable

   int t;

   double acc=32;

   cout<<"Enter the time in seconds:";

   // read the time in seconds

   cin>>t;

   // Calculate the distance=acceleration x time-squared divided by 2

   double dis=acc*(t*t)/2;

   // print the distance

   cout<<"distance is: "<<dis<<" feet."<<endl;

return 0;

}

Explanation:

Read the time in seconds from user and assign it to variable "t". declare and initialize variable "acc" with 32.Find the distance as "dis=acc*(t*t)/2". Print the distance.

Output:

Enter the time in seconds:10

distance is: 1600 feet.

You might be interested in
Explain briefly what would happen if marketing research is not conducted before a product is developed and produced for sale.
andreyandreev [35.5K]

Neglecting to do market research can result in indecision and inaction, fear of risk or the truth, and/or too many options, which can lead to paralysis. ... When launching a new product, effective market research will help you narrow down your true market potential and your most likely customers.

6 0
4 years ago
If an interest inventory reveals that you are highly interested in solitary, introverted work, what might be the best type of ca
Deffense [45]
A writer maybe, because you can work by yourself, even at home.
6 0
3 years ago
Read 2 more answers
Which keyboard command would you use to navigate to the left adjacent cell in a worksheet?
guapka [62]

Answer:

Either scroll on a mouse or use the left arrow key.

I don't know if this is right.

3 0
3 years ago
Read 2 more answers
Define the term<br>cyber culture​
PolarNik [594]

Answer:

The social conditions brought about by the widespread use of computer networks for communication, entertainment, and business.

Hope This Helps!!!!

Explanation:

8 0
3 years ago
If the programmer translates the following pseudocode to an actual programming language, a syntax error is likely to occur. Can
maxonik [38]

Answer:

if, then, else

Explanation:

you specified that if you enter award for 1st prize then it'll display 1st prize but you didnt specify what will happen if user does not enter 1st prize or what happens if 1st prize is not allocated. To me it looks like you got the 'if' and 'then' part correct but you dont have a 'else' part to it therefore it'll create an error when its not declared.

8 0
3 years ago
Other questions:
  • Which of the following actions should you take when turning left at an intersection?
    11·1 answer
  • A small company connects data acquisition equipment to the serial port of a computer. The equipment user has reported that not a
    8·1 answer
  • Sleeping is an effect of _______ , but agitation may cause a person to wake up
    7·2 answers
  • Sometimes, fourth-generation languages (4GLs) are called procedural languages
    9·1 answer
  • A bowl contains 20 candies; 15 are chocolate and 5 are vanilla. You select 5 at random. What is the probability that all 5 are c
    6·2 answers
  • What is the best data structure to solve the following problem? a) A list needs to be built dynamically. b) Data must be easy to
    11·1 answer
  • You receive an offer in the mail that says you're eligible to win a cash prize if you place some stickers on a form and return i
    5·1 answer
  • Which are guidlines for using themes? Check all that apply
    13·1 answer
  • Subscribe to Markiplier
    15·2 answers
  • True or false As the contents and topics of new magazines change year-to-year, you can see various trends and movements across s
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!