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

Complete the method definition to output the hours given minutes. Output for sample program:3.5import java.util.Scanner;public c

lass HourToMinConv { public static void outputMinutesAsHours(double origMinutes) { /* Your solution goes here */ } public static void main (String [] args) { Scanner scnr = new Scanner(System.in); double minutes; minutes = scnr.nextDouble(); outputMinutesAsHours(minutes); // Will be run with 210.0, 3600.0, and 0.0. System.out.println(""); }}
Computers and Technology
1 answer:
Aliun [14]3 years ago
8 0

Answer:

import java.util.Scanner;

public class num1 {

   public static void outputMinutesAsHours(double origMinutes) {

       double hours = origMinutes / 60;

       System.out.println("The converted hours is " + hours);

   }

   public static void main(String[] args) {

       Scanner scnr = new Scanner(System.in);

       double minutes;

       minutes = scnr.nextDouble();

       outputMinutesAsHours(minutes); // Will be run with 210.0, 3600.0,

       System.out.println("");

   }

}

Explanation:

The question required us to only write the statement to complete the line

outputMinutesAsHours(double origMinutes) { /* Your solution goes here */ }

The solution double hours = origMinutes / 60; solves this because there are 60 minutes in one hour, so to conver minutes to hours, you divide the number of minutes by 60

You might be interested in
If every company is now a technology company, then what does this mean for every student attending a business college
timofeeve [1]

Answer:

Explanation:

There are all sorts of possibilities for, say, inserting new technologies into existing processes. But most of these improvements are incremental. They are worth doing; in fact, they may be necessary for survival. No self-respecting airline, for instance, could do without an application that lets you download your boarding pass to your mobile telephone. It saves paper, can't get lost and customers want it.

But while it's essential to offer applications like the electronic boarding pass, those will not distinguish a company. Electronic boarding passes have already been replicated by nearly every airline. In fact, we've already forgotten who was first.

5 0
3 years ago
____ storage is not recommended for long-term archiving because the storage media can degrade over time
Lunna [17]

Hard Drive is not recommended for long-term archiving because the storage media can degrade over time,

<h3>What type of storage is recommended for long term data retention?</h3>

The long method used to long-term retention is the use of cloud. Cloud-based are known to be a form of cold storage that is made up of intelligent storage software.

Note that Hard Drive is not a long term kind of storage in the above context and as such, PE storage is not recommended for long-term archiving because the storage media can degrade over time,

Learn more about storage from

brainly.com/question/1317328

#SPJ1

5 0
3 years ago
Ughhh my cramps hurt sm
Aleonysh [2.5K]

Answer:

okay drink water and sleep and yea

8 0
3 years ago
Create a UNIX style daemon process that will watch a folder and respond to specific file operations that occur in that folder. T
harina [27]
It would be better for the bets to gets it done. So you would finish it as usuals like your compressor quiz
6 0
3 years ago
You add a style sheet link between which opening and closing tags?
Likurg_2 [28]

<link> tag

The <link> tag is most often used to link to external style sheets. The <link> element is an empty element, it contains attributes only.

8 0
3 years ago
Other questions:
  • Question 2 Unsaved Which of these is NOT an example of an emerging technology? Question 2 options: Sixth Sense Close Range Drone
    6·1 answer
  • Median of a sample If the distribution is given, as above, the median can be determined easily. In this problem we will learn ho
    15·1 answer
  • You have been approached by the network administrator of the company whose office is adjacent to yours. He has advised you to mo
    5·1 answer
  • " Which technique for representing numeric data uses the mantissa to hold the significant digits of a value?"
    7·1 answer
  • A Java main method uses the parameter (String[ ] variable) so that a user can run the program and supply "command-line" paramete
    5·1 answer
  • On the topic of "Bridging the Digital Divide", why should companies consider the digital divide?
    9·1 answer
  • You are troubleshooting a client connectivity problem on an Ethernet network. The client system has intermittent connectivity to
    9·1 answer
  • HELP PLEASE!!!! If you are continually building, reviewing, correcting a model of your system, and incrementally adding to the s
    9·1 answer
  • What is the primary purpose of source code editor features such as keyword hi lighting and auto-completion A.to speed up the cod
    7·1 answer
  • suspect that several users are attempting to install unauthorized software. Upon researching, you discover that the attempts wer
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!