package ru.sfwt.mt.sandbox;

public class MyFirstProgram {

  public static void main(String[] args) {
    System.out.println("Hell, world!");

  }
}
@@ -104,44 +104,529 @@
     
-System.out.println(%22Hell, world!%22);%0A
+hello(%22word%22);%0A    hello(%22user%22);%0A    hello(%22Marina%22);%0A%0A    double len = 5;%0A    System.out.println(%22S %D0%BA%D0%B2%D0%B0%D0%B4%D1%80%D0%B0%D1%82%D0%B0 %D1%81%D0%BE %D1%81%D1%82%D0%BE%D1%80%D0%BE%D0%BD%D0%BE%D0%B9 %22 + len + %22 = %22 + area(len));%0A%0A    double a = 5;%0A    double b = 6;%0A    System.out.println(%22S %D0%BF%D1%80%D1%8F%D0%BC%D0%BE%D1%83%D0%B3%D0%BE%D0%BB%D1%8C%D0%BD%D0%B8%D0%BA%D0%B0 %D1%81%D0%BE %D1%81%D1%82%D0%BE%D1%80%D0%BE%D0%BD%D0%B0%D0%BC%D0%B8 %22 + a + %22 %D0%B8 %22 + b + %22 = %22 + area(a,b));%0A  %7D%0A%0A  public static void hello(String somebody) %7B%0A    System.out.println(%22Hell, %22 + somebody + %22!%22);%0A  %7D%0A%0A  public static double area(double l) %7B%0A    return l * l;%0A  %7D%0A%0A  public static double area(double a, double b) %7B%0A    return a * b;
 %0A  %7D

Add functions for the area of a square and a rectangle