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; […]