Answer the question
In order to leave comments, you need to log in
Why does the "variable already defined" error occur?
Write a program that prints the result for the expression 1 < a/10 || a < 2/3 + 1 for a values of
123, 58, 0, -1, -0.443, 4, in turn. Run the program.
a
can be assigned multiple values in one block? If I start to override a
, it says that the variable a
is already defined in the method main
. How to make this task in one block?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question