package ru.osetsky;

public class Paint{
	public string piramid (int h) {
		StringBuilder builder = new StringBuilder();
		for (int index=0; index<h; index++) {
		builder.Append("^");
		builder.toString();
		}
		return builder;
	}
}

@@ -42,17 +42,17 @@
 %09public 
-s
+S
 tring pi
@@ -67,16 +67,48 @@
 nt h) %7B%0A
+%09%09for(int i = 0; i %3C h; i++) %7B%0A%09
 %09%09String
@@ -152,46 +152,110 @@
 ;%0A%09%09
+%09
 for
- 
 (int i
-ndex=0; index%3Ch; index
+2 = 0; i2 %3C i; i2++) %7B%0A%09%09%09%09builder.append(%22 %22);%0A%09%09%09%7D%0A%0A%09%09%09for(int i2 = 0; i2 %3C= i; i2
 ++) %7B%0A
+%09%09
 %09%09bu
@@ -264,9 +264,9 @@
 der.
-A
+a
 ppen
@@ -279,27 +279,59 @@
 ;%0A%09%09
-builder.toString();
+%09%09if(i2 %3E 0) %7B%0A%09%09%09%09%09builder.append(%22 %22);%0A%09%09%09%09%7D%0A%09%09%09%7D
 %0A%09%09%7D
@@ -351,11 +351,21 @@
 lder
+.toString()
 ;%0A%09%7D%0A%7D
-%0A

Add Paint change Piramid