We have to write “I will be disciplined boy” 100 times suggest him a shortcut
Answers
Answered by
0
class punishmext
{
void display ( )
{
int i ;
for ( i = 1 ; i <= 100 ; i++ )
{
System.out.println ( " I will be disciplined boy " ) ;
}
}
}
{
void display ( )
{
int i ;
for ( i = 1 ; i <= 100 ; i++ )
{
System.out.println ( " I will be disciplined boy " ) ;
}
}
}
Similar questions