Write a line of Java code that computes the average of three double type variables, assignment help

Computer Science
Tutor: None Selected Time limit: 1 Day

Write a line of Java code that computes the average of three double type variables – d1, d2, and d3 – and stores the result in a variable of type double called avg.

Jan 18th, 2016

Thank you for the opportunity to help you with your question!

the code will be

double avg = [(-d1)+(d2)+(-d3)]/3.0 ;

...............................................................................................................................................................

Please let me know if you have any confusion in understanding the answer. I'm always happy to answer your questions. please go to your home page . click on promotion on the left side then add my name ROBERT11 in the open window and promote me
Jan 18th, 2016

Studypool's Notebank makes it easy to buy and sell old notes, study guides, reviews, etc.
Click to visit
The Notebank
...
Jan 18th, 2016
...
Jan 18th, 2016
May 23rd, 2017
check_circle
Mark as Final Answer
check_circle
Unmark as Final Answer
check_circle
Final Answer

Secure Information

Content will be erased after question is completed.

check_circle
Final Answer