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
nataly862011 [7]
3 years ago
15

A pedometer treats walking 2,000 steps as walking 1 mile. Write a program whose input is the number of steps, and whose output i

s the miles walked. Output each floating-point value with two digits after the decimal point, which can be achieved as follows: printf("%0.2lf", yourValue);
Computers and Technology
2 answers:
kenny6666 [7]3 years ago
7 0

Answer:

steps = int(input("Enter the number of steps: "))

miles = steps / 2000

print('{:.2f}'.format(miles))Explanation:

Explanation:

Amanda [17]3 years ago
6 0

Answer:

import java.util.Scanner;

public class num1 {

   public static void main(String[] args) {

   Scanner in = new Scanner(System.in);

   //Prompt and receive user input

       System.out.println("Enter number of Steps");

       int numSteps = in.nextInt();

       double numMiles = numSteps/2000;

       //Print the formated number of miles

       System.out.printf("The equivalent miles is %.2f ",numMiles);

   }

}

Explanation:

  • This is solved using Java programming language
  • Scanner class is imported and used to receive user input (number of steps walked)
  • To convert number of steps to number of miles, we divide by 2000, Since the question says the pedometer treats walking 2,000 steps as walking 1 mile.
  • Output the number of miles to 2 decimal places using java's printf() method
You might be interested in
Explain why you will do these prarticular things when driving
VashaNatasha [74]
What things?????? Are u talking about
4 0
4 years ago
PLEASE ILL MARK BRAINLIEST
Minchanka [31]

Answer:

it is a capsid

5 0
3 years ago
Pls Help A table is a_______of rows and columns that provides a structure for presenting data​
WARRIOR [948]

Answer:

Graph or chart???

Explanation:

5 0
3 years ago
Please help
zvonat [6]

Answer:

First check the if the adapters on the router or site are connected (Ipconfig)

Next run a flush Dns to clear the sites dns logs (ipconfig/flushdns)

If non of that works you would run a restart on the server that is transfering data through the site.

If that doesn't work you will have to call a tech support from another company or your boss to tell him that there is nothing you can do and to ask for help!

Explanation:

Hopefully this helps! BTW I'm 13 so I wouldn't rely on my information that is personal what I would do though.

6 0
3 years ago
In animation what is exaggerated to make the characters more intensely what they are​
aleksklad [387]

Answer:

Exaggerated used of the technique can produce a comical effect, while more realistic animation must time the actions exactly to produce a convincing result. Slow in and slow out. Adds more frames near the beginning and near the end of a movement, and fewer in the middle, to make the animation appear more realistic.

5 0
4 years ago
Other questions:
  • A species of snake lives in a rainforest. Which would be an adaptation for this
    10·2 answers
  • Anna's computer has slowed down. How might she improve her computer's performance?
    6·1 answer
  • Keion works as a freelancer creating websites and designing logos for clients. He recently had a hard drive failure and lost wor
    12·1 answer
  • You can send emails to individuals from your address book.<br><br> True<br> False
    12·1 answer
  • When you see ####### in a cell, you should​
    11·1 answer
  • Create an application containing an array that stores 10 integers. The application should call five methods that in turn (1) dis
    8·1 answer
  • I am fast when im thin, I'm slow when im thick.<br><br>Air is my weakness,<br><br><br>What am I?
    13·1 answer
  • This software application can be used to organize, analyze, and illustrate data?
    12·2 answers
  • Identify the following verb by number and person by checking on the appropriate boxes.
    15·2 answers
  • 6. Write a C++ program to print the largest three elements in an array. <br>​
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!