WAP to print * 5times vertically
Answers
Answered by
1
ஜ۩۞۩ஜ[ ANSWER ]ஜ۩۞۩ஜ
THE FOLLOWING PROGRAMING CODING IS MADE BY IO PACKAGE OF JAVA.
import Java .io. *;
Class p
{
public static void mail(String
args[])throws Exception
{
int i ;
for(i=1;i<=5;i++)
{
System. out. println("*");
}
}
}
OUTPUT :---
*
*
*
*
*
╚»★«╝[ HOPE IT HELPS ]╚»★«╝
Answered by
0
THERE IS NO NEED TO IMPORT ANY CLASS
THE PROGRAM :
class Series
{
public static void main ( String[] args)
{
int i;
for(i=1; i <=5; i++)
{
System. out .println(*);
}
}
}
HOPE IT HELPS....
THE PROGRAM :
class Series
{
public static void main ( String[] args)
{
int i;
for(i=1; i <=5; i++)
{
System. out .println(*);
}
}
}
HOPE IT HELPS....
Similar questions