# 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
English,
7 months ago
English,
7 months ago
Social Sciences,
1 year ago
Science,
1 year ago
Biology,
1 year ago