diff --git a/Others/ft.java b/Others/FloydTriangle.java similarity index 94% rename from Others/ft.java rename to Others/FloydTriangle.java index 815dbd29..243a4b1a 100644 --- a/Others/ft.java +++ b/Others/FloydTriangle.java @@ -1,7 +1,7 @@ import java.util.Scanner; -class FloydTriangle { +public class FloydTriangle { public static void main(String[] args) { Scanner sc = new Scanner(System.in); System.out.println("Enter the number of rows which you want in your Floyd Triangle: ");