Home » » For with input in Java Program

For with input in Java Program

For with input in Java Program

For with input in Java Program

For with input

import java.io.*;
class arun
{
public Static void main(String args[]) throws IOException
{
DataInputStream in = new DataInputStream(System.in);
{
int i,n;
System.out.println("Enter the value of n is:");
n=Integer.parseInt(in.readLine());
for(i=1;i<n;i++)
{
System.out.println("\n arun");
}
}
}
}

0 coment�rios:

Post a Comment

Link you don't want to vouch for Read more: https://html.com/seo/#ixzz5zVltiZ5g