Computer Science, asked by vandana6140, 1 year ago

write a program to initialize three variables a,b,c with 234,456,712 and store the sum of last digits in d.make the program in java​

Answers

Answered by RAHULSEN504
2

Answer:

public class abcd

{

public void main()

{

int a,b,c,d;

a=234;

b=456;

c=712;

int d=a+b+c;

System. out. println(" The sum of the digits is "+d);

}

}

Similar questions