You are on page 1of 2

Assignment Based on Input Out

1) Make program to find the sum, difference and product of


two numbers inputted by BufferedReader class.
2) Make a program to compute the Time Period(T) of a
Simple Pendulum as per the following formula:
T=2π√L/g
Input the value of L(Length of Pendulum) ,
take gravity value as constant
using BufferedReader class.

3) Make a program that accepts temp in centigrade and


convert it into Fahrenheit using BufferedReader class
4) Make a program that accepts the seconds as input and
converts it into the corresponding number of hours
minutes and seconds using BufferedReader class.
Note: You can use
float Float.parseFloat(String)->to covert a String value into
float.
double Double.parseDouble(String) to covert a String value
into double.

You might also like