We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 44a9b40 commit 6e9422eCopy full SHA for 6e9422e
07-integers/floating-point/FloatingPoint.java
@@ -1,4 +1,8 @@
1
public class FloatingPoint {
2
public static void main(String[] args) {
3
+ double dollar = 1.00;
4
+ double dime = 0.10;
5
+ int number = 7;
6
+ System.out.println("A dollar less " + number + " dimes is $" + (dollar - number * dime));
7
}
8
0 commit comments