Skip to content

vishwapriya/righttriangle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 

Repository files navigation

righttriangle

package com.company;

import java.util.Scanner;

public class righttriangle { public static void main(String[] args) { Scanner sc=new Scanner(System.in); int n=sc.nextInt(); int i,j; for(i=1;i<=n;i++) { for(j=0;j<i;j++) { System.out.print("*"); } System.out.println(); } } }

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published