Computer Science, asked by rishikashrivas20, 2 months ago

1.
A program which assigns value to three variables and show their product on the
screen.
A, b, c = 10, 10, 10
print(A+b+c)

Answers

Answered by Anvi3011
2

Answer:

public class addition

{

public static void main ()

{

int a=10,b=10,c=10;

int k=a+b+c;

System.out.println(k);

}

}

output will be 30

Answered by deemaanaashraf
1

Answer:

Explanation:

A=10

b=10

c=10

D=A+b+c

System.out.print(D);

out put =10+10+10=30

Similar questions