One variable is not enough

  • 1
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 to leave a comment
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
ABHISHEK VERMA Level 1, Hardoi, India
16 August 2018, 14:44
in this what would the strring name
Eren Level 41, Shiganshina
17 August 2018, 06:02
a, b, s