Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package distance.part.pkg1.of.pkg2;
- /**
- *
- * @author Monty
- */
- public class DistancePart1Of2 {
- /**
- * @param args the command line arguments
- */
- public static void main(String[] args) {
- double d1 = 12.2;
- double d2 = 10.6;
- double d3 = 5.8;
- double dt;
- dt = d1 + d2 + d3;
- System.out.println("Total distance: " + dt);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment