| [ Web Proxy ] |
| Viewing: https://raw.githubusercontent.com/primary-code-test/Java/dev/Others/FloydTriangle.java | [Back] [Original] |
package Others;
import java.util.Scanner;
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: ");
int r = sc.nextInt(), n = 0;
sc.close();
for (int i = 0; i < r; i++) {
for (int j = 0; j
| Web Proxy Viewer | New URL | Original Page |