correct the error in the given program:
class simplify
public static void main(String args (1)
int a,b,c,d;
a=10, b=5,c=1,d=2;
c= a 2+b2;
d=(a+b)2;
t= c/d;
System.out.printin(c+""+""+d+""+p);
Answers
Answered by
10
Explanation:
class simplify
{
public static void main(String args[])
{
int a=10,b=5,c=1,d=2,t;
c=a^2+b^2;
d=(a+b)^2;
t=c/d;
System.out.println(c+" "+d+ " " +p);
}
}
PLEASE MARK AS BRAINLIEST
Answered by
1
Answer:
hope this answer is helpful to you
Attachments:
Similar questions