Quantcast
Channel: Coding & Programming
Viewing all articles
Browse latest Browse all 7262

Generate a pyramid

$
0
0
public class Pyramid
{
/* Generate a Pyramid using * symbols */
public static void main(String[] args)
{
int n = 8; // number of rows

int indent = 3;...

Please or Register to view links

Viewing all articles
Browse latest Browse all 7262

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>