Java Expression for:-
|a^2+b^2+2ab|
Answers
In Java:
Multiplication sign ( × ) is written as " * " (asterisk)
Division sign ( / ) is written as " % " (modulus) it is used to give the remainder.
Addition and Subtraction sign is as same as we use in Mathematics, addition sign " + " and substraction sign " - ".
Given Expression:
|a^2+b^2+2ab|
In Java the Expression will be written as:
System.out.println (a*a+b*b+2*a*b);
Learn More:
Write a menu driven program to accept a number and cheack weather it is a prime number or a perfect number as per the us...
https://brainly.in/question/18042462
WAP to Check whether a number is Armstrong or not
https://brainly.in/question/38695997
Creat a program to chack where a number is buzz number or not
https://brainly.in/question/12156124
Write a program to find the name of the month using switch statement
https://brainly.in/question/27637303