# grab the point
it. it is easy one answer me fast ( Write a #JAVA program to accept any no. using buffered reafer)
Answers
Answered by
0
Hey Mate!
Here's the answer:
import java.io.* ;
class Work
{BufferedReader br = new BufferedReader(new InputStreamReader(System.in)) ;
int n;
void accept()throws IOException
{
System.out.println("Enter a number") ;
n = Integer.parseInt(br.readLine()) ;
}
}
Hope it helps!
Similar questions