Computer Science, asked by rameshreddysangana1, 1 month ago

3
4
NOTE Class Name should the Main
6 - import java.io.*;
7
import java.util.;
8- class Main
public static void main(String[] args) throws InterruptedException
10
List<String> inputByLine = new ArrayList String
11 -
12
// Get the object of DataInputStream
13
InputStreamReader isr - new InputStreamleader(System.In, "U
14
BufferedReader br = new BufferedReader(s);
String line
16
while ((line - br.readLine())
- -12
1
inputByLine.add(line.toString());
18
for (String line2 : InputByLine)
20
System.out.println(line2);
21
isr.close();
} catch (IOException foe)
ioe.printStackTrace();
24
25​

Answers

Answered by Anonymous
0

Answer:

,b,c are the lengths of the sides as shown in

the figure. Write the following ratios,

(i) sin X (ii) tan Z (iii) cos X (iv) tan X.

Answer

1)sin X=opposite side ofangle X

Hypotenuse

Answered by AditiHegde
5

To print the class name

* NOTE: Class Name should be Main

*

**/

import java.io.*;

import java.util.*;

class Main {

   public static void main(String[] args) throws InterruptedException {

       List<String> inputByLine = new ArrayList<String>();

       try {

           // Get the object of DataInputStream

           InputStreamReader isr = new InputStreamReader(System.in,"UTF-8");

           BufferedReader br = new BufferedReader(isr);

           String line = "";

           while ((line = br.readLine()) != null){

               inputByLine.add(line.toString());

           }

           for (String line2 : inputByLine)

           System.out.println(line2);

           isr.close();

       } catch (IOException ioe) {

           ioe.printStackTrace();

       }

   }

}

#SPJ2

Similar questions