Write a method so that the main() code below can be replaced by the simpler code that calls method original main(): public class calcmiles { public static void main(string [] args) { double milesperhour = 70.0; double minutestraveled = 100.0; double hourstraveled; double milestraveled; hourstraveled = minutestraveled / 60.0; milestraveled = hourstraveled * milesperhour; system. out. println(“miles: ” + milestraveled); } }

Answers

Answer
The correct answer was given: fahaddakhil3186
Just create the function using the name it gives, as a double. use two double variables to call the data you need. the problem gives you all the information you need, you just have to plug it in.double mphandminutestomiles(double milesperhour, double minutestraveled){  double miles;     miles = (minutestraveled / 60) * milesperhour;     return miles; }

Answer
The correct answer was given: Brain

The most likely culprit that your computer assuming it’s current with sufficient RAM is bloatware and programs that automatically load.

Check the registry keys:

HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run.

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run

Also, use task Manager to find the programs (see attachment).

Answer
The correct answer was given: Brain

pages

graphics

comments

sections

tables

Add an answer

Your email address will not be published. Required fields are marked *