subject

Java Eclipse homework. I need help coding this| Challenge 7A - My Family

package: chall7A
class: MyFamily

Write a program that will do the following:

a. Ask the user to input the names and ages of three friends or family members. (Create appropriate variables for storage of these.)

b. Calculate the oldest, youngest and average age of the three people.

c. Display the names, ages, and calculations in the console window in an appropriate format.

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 17:20
[a] create a class called “cycle” which has two instance integer variables as properties, “numberofwheels” and “weight.” create a constructor with two parameters, using the same variable names in the parameter list. assign each variable to numberofwheels” and “weight” respectively. write a separate application to test the class and display its properties. note: do not change the names of the instance variables or the variables listed in the constructor’s parameter list. [b] edit your class cycle by adding a default constructor which will assign the default values of 100 to represent the numberofwheels, and 1000 to represent the weight, by invoking a call to the other constructor. modify your application created in [a] to test the class.
Answers: 3
question
Computers and Technology, 23.06.2019 06:10
The head restraint should be adjusted so that it reaches a.the top of your ears b.the base of your skull c.the top of the head
Answers: 1
question
Computers and Technology, 23.06.2019 17:00
The more powerful, 60 volt cables and the main power shut-off on an hev are both colored orange.
Answers: 1
question
Computers and Technology, 23.06.2019 19:30
Anul 2017 tocmai s-a încheiat, suntem trişti deoarece era număr prim, însă avem şi o veste bună, anul 2018 este produs de două numere prime, 2 şi 1009. dorel, un adevărat colecţionar de numere prime, şi-a pus întrebarea: “câte numere dintr-un interval [a,b] se pot scrie ca produs de două numere prime? “.
Answers: 3
You know the right answer?
Java Eclipse homework. I need help coding this| Challenge 7A - My Family

package: chall...
Questions
question
Computers and Technology, 27.11.2020 17:30
question
Mathematics, 27.11.2020 17:30
question
Mathematics, 27.11.2020 17:30
question
Chemistry, 27.11.2020 17:40
Questions on the website: 13722363