One variable is not enough

  • 1
  • Locked
When learning to program, some work may initially seem like unnecessary repetition. This is an illusion: skill is just repetition (with variations!) and can't be achieved in any other way. So, stop whining. Instead, let's declare variables one more time. This time we'll have three of them, and we'll assign them some values.
You can't complete this task, because you're not signed in.
Comments (15)
  • Popular
  • New
  • Old
You must be signed in
gaming with ASHULevel 1 , Mumbai
Monday, 07:34
why it is saying that the program is not compiled
bsLevel 3 , Kuala Lumpur
16 April, 14:25
Yes
Sreeraj kLevel 1 , kannur
30 October 2018, 14:29
just simple
JanuszLevel 8 , Radomsko
12 October 2018, 16:57
/* The comment was deleted */
RomanLevel 41
16 October 2018, 05:36
Posting the solution in the comments is prohibited.
JanuszLevel 8 , Radomsko
12 October 2018, 16:55
Quite a simple exercise but I do not see the transition to the next.
PRADYUMNA HEGDELevel 1 , SHIVAMOGGA
5 October 2018, 12:52
I just started loving to learn.
hafinaLevel 1 , Hyderabad
3 October 2018, 16:51
what does it means "The variables must be immediately assigned values" since i have assigned a value to the variables
RomanLevel 41
4 October 2018, 06:15
int a; //variable is declared
a = 5; //variable is assigned value
int a = 5; //variable is declared and immediately assigned value (in the same line)
Augustine YanthanLevel 2 , Kohima
2 October 2018, 16:34
/* The comment was deleted */
RomanLevel 41
3 October 2018, 05:36
Posting the solution in the comments is prohibited.
k142405@nu.edu.pkLevel 1 , Pretoria
19 September 2018, 22:42
what is it
ABHISHEK VERMALevel 1 , Hardoi
16 August 2018, 14:44
in this what would the strring name
17 August 2018, 06:02
a, b, s