Write an expression that computes the sum of two double variables total1 and total2, which have been already declared and assigned values.
LANGUAGE: JAVA
CHALLENGE:
Write an expression that computes the sum of two double variables total1 and total2, which have been already declared and assigned values.
SOLUTION:
LANGUAGE: JAVA
CHALLENGE:
Write an expression that computes the sum of two double variables total1 and total2, which have been already declared and assigned values.
SOLUTION:
total1 + total2
Posted in Java, Learn To Code