Write a program to make star pattern Pyramid.

Hey Guys 🙂 , today i am going to tell you the tricks to make star pattern like pyramids. Suppose we have to make pattern like * ** *** **** So here are the steps to make pattern like this as; Step 1: count the depth or number of levels in a […]

Write a program to create table of any number.

import java.util.Scanner; public class Main {     public static void main(String[] args) {         Scanner scan = new Scanner(System.in);                  System.out.println(“Please enter a number, for which you want to write a table:”);         int number = scan.nextInt();                  for(int count=1; […]