package ru.ematveev.square;

public class Square{

	public int a;
	public int b;
	public int c;

	public Square(int a, int b, int c){

		this.a = a;
		this.b = b;
		this.c = c;
	}

	public double calculate(int x){

		double y = a * x * x + b * x + c;

		return y;

	}

	public void show(int start, int finish, int step){


			for(int i = 0; i <= finish; i = i + step){

				System.out.println(calculate(start));

				start = start + step;

		}

	}
}

		
@@ -43,17 +43,16 @@
 Square%7B%0A
-%0A
 %09public 
@@ -126,17 +126,16 @@
 int c)%7B%0A
-%0A
 %09%09this.a
@@ -209,21 +209,16 @@
 x)%7B%0A
-%0A
 %09%09
-double y =
+return
  a *
@@ -240,23 +240,10 @@
 + c;
-%0A%0A%09%09return y
 ;%0A
-%0A
 %09%7D%0A%0A
@@ -294,18 +294,16 @@
  step)%7B%0A
-%0A%0A
 %09%09%09for(i
@@ -340,17 +340,16 @@
  step)%7B%0A
-%0A
 %09%09%09%09Syst
@@ -382,17 +382,16 @@
 tart));%0A
-%0A
 %09%09%09%09star
@@ -412,14 +412,12 @@
 ep;%0A
-%0A
 %09%09%7D%0A
-%0A
 %09%7D%0A%7D

change Square.java