class Rectangle {

	public static String toString(double width, double height) {
		return String.format("Pravokutnik širine %.1f i visine %.1f ima površinu %.1f te opseg %.1f.",
				width, height, calculateArea(width, height), calculatePerimeter(width, height));
	}

}