public class Solution {
public static void main(String[] args) {
int a = 5;
int b=7;
int sum = a+b;
int product=a*b;
System.out.println(sum);
System.out.println(product);
}
}
so yeah i don't get what do they mean with declare the variables in the second requirement, i simply don't get what do they want me to do lolwhats wrong with my variables
Under discussion
Comments (2)
- Popular
- New
- Old
You must be signed in to leave a comment
Guadalupe Gagnon
3 December 2019, 03:31
you need to attach your solution or we cannot help.
0
Felipe Fallas
2 December 2019, 22:54
some more context, I'm at the level 2, exactly in the part of the calculator exercise, the requirement says The program should have two int variables a and b.
but i don't get whats wrong with my code according to that lol
0