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, 23.06.2019 18:00
Which finger presses the h key on the keyboard? index finger on the left hand pinky finger on the right hand index finger on the right hand thumb on the left hand
Answers: 1
question
Computers and Technology, 24.06.2019 03:30
It is not necessary to develop strategies to separate good information and bad information on the internet. true or false
Answers: 1
question
Computers and Technology, 24.06.2019 11:20
Print "censored" if userinput contains the word "darn", else print userinput. end with newline. ex: if userinput is "that darn cat.", then output is: censoredex: if userinput is "dang, that was scary! ", then output is: dang, that was scary! note: if the submitted code has an out-of-range access, the system will stop running the code after a few seconds, and report "program end never reached." the system doesn't print the test case that caused the reported message.#include #include using namespace std; int main() {string userinput; getline(cin, userinput); int ispresent = userinput.find("darn"); if (ispresent > 0){cout < < "censored" < < endl; /* your solution goes here */return 0; }
Answers: 3
question
Computers and Technology, 25.06.2019 00:00
He computer component that disperses heat from the microprocessor to the cooling fan is a cooler thermometer heat sink
Answers: 1
You know the right answer?
Java Eclipse homework. I need help coding this| Challenge 7A - My Family

package: chall...
Questions
question
Mathematics, 04.08.2019 18:00
Questions on the website: 13722363