Essay On New Bufferedreader

Essay About Bufferedreader Ob And Public Void
Pages • 0

Uses Of ComputersEssay Preview: Uses Of ComputersReport this essayQUESTION 1.Write a program to solve the following equation with values of n & c being entered by the user(n! * (n-c)!) / c!import java.io.*;class Calc{ //class beginspublic void main()throws IOException{ //main() beginsBufferedReader ob=new BufferedReader(new InputStreamReader(System.in));System.out.println(“Enter the value of n.”);int n=Integer.parseInt(ob.readLine());System.out.println(“Enter the value of c.”);int c=Integer.parseInt(ob.readLine());int x,y,z;x=factorial(n);y=factorial(c);z=factorial(n-c);along.

Weve found 1 essay examples on New Bufferedreader