diff --git a/add.java b/add.java new file mode 100644 index 0000000..712b637 --- /dev/null +++ b/add.java @@ -0,0 +1,7 @@ +public class add + { + public static void main(String args[]){ + System.out.println("hello world"); + } + } + diff --git a/add.py b/add.py index c571323..c2dc2b3 100644 --- a/add.py +++ b/add.py @@ -1,4 +1,4 @@ -a=8 -b=4 -c=a+b -print c +a=25 +b=9 +d=a+b +print d diff --git a/calculator b/calculator index 80a04da..a007abc 100644 --- a/calculator +++ b/calculator @@ -13,7 +13,7 @@ int main() { case '+': printf("%.1lf + %.1lf = %.1lf", first, second, first + second); break; - case '-': + case '%': printf("%.1lf - %.1lf = %.1lf", first, second, first - second); break; case '*':