0

when would i use variables?

i tried to run the code, but it said no output. so what's the point of putting those?

1st Jul 2016, 4:05 AM
Jobel Barcoma
4 Antworten
+ 3
You use variables when you need to store a value that can change dynamically. Maybe the variable you used may have been empty. that's why there was no output.
1st Jul 2016, 8:21 AM
Midhun Mathew
0
variables are used to define a number or an statement
1st Jul 2016, 12:37 PM
waliid
waliid - avatar
0
variables are containers to store data. you have to fill the container with some data otherwise you won't get output.
12th Jul 2016, 4:26 AM
Umamaheswararao Tumma
Umamaheswararao Tumma - avatar
0
The program shows no output because there is no output command in that program such as system.out.println() etc
14th Jul 2016, 2:14 PM
Advait Kulkarni
Advait Kulkarni - avatar