Calculate - double f =((90-(v*.8))/.2);...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
public class Calculate { public static void main(String[] args) {double x = 70; double y = 80; double z = 90; double v = (x+y+z)/3; System.out.println("the average before final is " +v);
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: double f =((90-(v*.8))/.2); System.out.println("The grade on the final must be "+f); } }...
View Full Document

Ask a homework question - tutors are online