Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

JAVA programming Please help with Question 1 only. The instruction are below and also please try to to use other complex tools as this is

JAVA programming

Please help with Question 1 only. The instruction are below and also please try to to use other complex tools as this is a beginner class and I have not learned anything advance yet, just for loops and methods. Also please no screen shot answers. Thank you so much for the help.

image text in transcribed

Thank you:

You must use methods, proper names, adequate comments, and proper indentation Problems One way to measure the amount the energy that is expended during exercise is to use metabolic equivalents (MET). Here are some METS for various activities 1. Running 6 MPH: 10 METSs Basketball 8 METS 1 MET Sleeping The number of calories burned per minute may be estimated using the formula: Calories/Minute 0.0175 x MET x Weight in Kilograms Write a program that calculates and outputs the total number of calories burned for a 150- pound person who Runs 6 MPH for 30 minutes Plays basketball for 30 minutes Sleeps for 6 hours Note: One kilogram is equal to 2.2 pounds 2. Write a complete program that stores a student's year (Freshman, Sophomore Junior, or Senio), student's name(first and last), the number of courses the student is taking, and his or her GPA on a 4.0 scale. Declare variables with the appropriate names and types to hold this information. Output the result on the screen in the following format. Name: Alex zhang Status: Freshman Units: 15 GPA: 3.97 3. In physics, a common useful equation for finding the position s of a body in linear motion at a given time t, based on its initial position so, initial velocity w, and rate of acceleration a, is the following Write a complete program to declare variables for so with a value of 12.0, vo with a value of 3.5, a with a value of 9.8, and twith a value of 10, and then write the code to compute s on the basis of these values. At the end of your code, print the value of your variable s to the console

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Graph Databases New Opportunities For Connected Data

Authors: Ian Robinson, Jim Webber, Emil Eifrem

2nd Edition

1491930896, 978-1491930892

Students also viewed these Databases questions

Question

How does targeted profit enter into the break-even units equation?

Answered: 1 week ago

Question

What are some companywide pay plans? Briefly discuss each.

Answered: 1 week ago