Write a program that prompts the user to input a positive integer. It should then print the multiplication table of that number.
public class MultiplicationTable {
public void printTable(int numberTableToPrint) {
}
}
Write a program that will print
public class Pyramid {
public void printPyramid(int cathetusLength) {
}
public static void main(String[] args) {
new Pyramid().printPyramid(7);
}
}
Write a program that will find power of any number using for loop
public class Power {
public void printPower(int numberToPrint, int power) {
}
public static void main(String[] args) {
new Power().printPower(10, 3);
}
}
Write a program that will print
public class HalfPyramid {
public void printHalfPyramid(int cathetusLength) {
}
public static void main(String[] args) {
new HalfPyramid().printHalfPyramid(8);
}
}