just type "System.out.print("*");" in_place_of "System.out.println("*");", and your program will run fine........
Type: Posts; User: pawan4angel
just type "System.out.print("*");" in_place_of "System.out.println("*");", and your program will run fine........
1. How to print * Square
class Square
{
psvm(String args[])
{
// take input from user in max variable; like max=5
for (i=0;i<max;i++)
{
1. take number from user using scanner class, and run loop inner and outer loop to print square *
2. take radius from user using scanner class, calculate area=pie*radius
3. take perpendicular and...