+ 1
Why it is done like x=40+60 instead of a+b... Plz explain me..i dnt understand
5 Réponses
+ 4
Where the thing did you don't understand at?
+ 2
@LovepreetKaur, its NOT compulsive to decare a variable first.
A Variable is needed when input number is different, i.e, when you need to add any two numbers that are specifies by the user.
+ 1
I think it´s easier in bigger tasks with many numbers if every number is declared to a variable.
Let´s say you have 29847, 37829, 4872938,... and so on.
You just have to type the variable of each number instead of doublechecking each number if there is no mistake.
0
That y they haven't declared these variables differently
0
Thnks for your answers 😊