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 (16)
  • Popular
  • New
  • Old
You must be signed in to leave a comment
Indranil Chakraborty
Level 3 , United Kingdom
6 August, 18:30
I’m nearly at a hackathon😜
ASHU
Level 2 , Mumbai, India
17 June 2019, 07:34
why it is saying that the program is not compiled
bs
Level 4 , Kuala Lumpur, Malaysia
16 April 2019, 14:25
Yes
Sreeraj k
Level 1 , kannur, India
30 October 2018, 14:29
just simple
Janusz
Level 11 , Radomsko, Poland
12 October 2018, 16:57
/* The comment was deleted */
Roman
Level 41
16 October 2018, 05:36
Posting the solution in the comments is prohibited.
Janusz
Level 11 , Radomsko, Poland
12 October 2018, 16:55
Quite a simple exercise but I do not see the transition to the next.
PRADYUMNA HEGDE
Level 2 , SHIVAMOGGA, INDIA
5 October 2018, 12:52
I just started loving to learn.
hafina
Level 1 , Hyderabad, India
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
Roman
Level 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 Yanthan
Level 2 , Kohima, India
2 October 2018, 16:34
/* The comment was deleted */
Roman
Level 41
3 October 2018, 05:36
Posting the solution in the comments is prohibited.
k142405@nu.edu.pk
Level 1 , Pretoria, South Africa
19 September 2018, 22:42
what is it