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
omeli [17]
3 years ago
12

Write a program that accepts a number of minutes and converts it both to hours and days. for example, 6000 minutes equals 100 ho

urs and equals 4.167 days. save the class as minutesconversion.java.
Computers and Technology
1 answer:
muminat3 years ago
4 0
Public class MinToHrDays {
    /**     * @param args the command line arguments     */
    public static void main(String[] args) {
        // TODO code application logic here
         BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
         System.out.print("Enter the number of minutes: ");
          try {
                Float fltNumMins = Float.parseFloat(reader.readLine());
                Float fltHrs = fltNumMins /60;
                Float fltDays = fltHrs / 24;
                System.out.println("Minutes: " + fltNumMins + " Hours: " + fltHrs + " Days: " + fltDays);
          }  catch (IOException e) {
              System.err.println("Error: " + e);
          }   
  }
}
You might be interested in
web pages within the same website often have different blank because they have different blank A) home pages, urls B) goals, sou
jenyasd209 [6]

Answer:

D

Explanation:

Home page will not usually be formatted the same as the contact page because each page has a different purpose

8 0
4 years ago
Look at the following HTML form. Which description is correct? Please enter your discount code:
jasenka [17]

Answer:

<form action = "discount.php" method = "post" > discount method can be extract from POST method

Explanation:

<form action = "discount.php" method = "post" >

<input type = "text" size = "12" name = "code" >

<input type = "submit" value = "Process" >

</form>

6 0
3 years ago
How to create drop down list in excel with multiple selections.
Art [367]

Answer: <em>Select the cell or cells you want the drop-down list to appear in.</em>

<em>Click on the Data tab on Excel's ribbon.</em>

<em>Click on the Data Validation button in the Data Tools group.</em>

<em>In the Data Validation dialog, in the Allow: list select List.</em>

<em>Click in the Source: box.</em>

<em />

<em></em>

<em />

8 0
3 years ago
Read 2 more answers
Your friend is applying for a job at your company. She asks you to recommend her. She wants you to tell your boss that you have
Gekata [30.6K]
I think you should tell her you cannot lie about working with her
7 0
3 years ago
What specialized computer program hides the differences in hardware and works a bridge between hardware and appilcations?
VLD [36.1K]

A. hope this helped.

3 0
4 years ago
Other questions:
  • One item you will NOT need to provide when opening up a bank account
    9·2 answers
  • Which of the following situations represent(s) resource scarcity? I. Rapidly growing economies experience increasing levels of w
    9·1 answer
  • Q.No.3. A filling station (gas station) is to be set up for fully automated operation. Drivers swipe their credit card through a
    10·1 answer
  • Design aPayrollclass that has fields for an employee’sname, ID number, hourly pay rate,and number of hours worked. Write theappr
    9·1 answer
  • Witch of the following is a valid why a scientist might a scientific theory
    13·1 answer
  • An aircraft departs an airport in the mountain standard time zone at 1615 MST for a 2-hour 15-minute flight to an airport locate
    14·1 answer
  • Assume that print_error_description is a function that expects one int parameter and returns no value. Write a statement that in
    11·1 answer
  • Which type of device often controls IoT tasks?<br> Desktop<br> Laptop<br> Smartphone<br> Switch
    8·1 answer
  • Stay at least _____ behind the vehicle ahead of you at all times.
    12·2 answers
  • A device is a program that must be installed in order for the peripheral device to be able to
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!