Computer Science, asked by LOxDeath, 1 year ago

WAP to print * 5times vertically ​

Answers

Answered by nain31
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 kanakchamola
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....
Similar questions