Java expression of 2(ab2+ba2)/(a+b)4
Answers
Answered by
1
Answer:
Brainly.in
What is your question?
1
nvty
26.06.2019
Computer Science
Secondary School
+5 pts
Answered
Write the Java expressions for the following a^2+b^2
2
SEE ANSWERS
Log in to add comment
Answer
1.0/5
1
Faraaz17
Expert
167 answers
6.8K people helped
Answer:
Ex 2: Write a program in Java to find the result of following expression (Assume a = 10, b = 5) i) (a < < 2) + (b > > 2) ii) (a) | | (b > 0) iii) (a + b
class s01_02
{
public static void main(String args[])
{
int a=10,b=5;
System.out.println(" i) (a<<2)+(b>>2): "+(a<<2)+(b>>2) );
System.out.println(" ii) (a)||(b>0) : "+(a)||(b>0) );
System.out.println("iii) (a+b*100)/10 : "+(a+b*100)/10 );
System.out.println(" iv) (a&b) : "+(a&b) );
Answered by
3
Answer:
hey mate please follow me also follow u
Similar questions
India Languages,
3 months ago
Business Studies,
3 months ago
Math,
3 months ago
Math,
7 months ago
Chemistry,
11 months ago
English,
11 months ago
Physics,
11 months ago