brdzga
brdzga
CC#
Created by brdzga on 11/26/2024 in #help
✅ I can't understand
okay thanks for the tips
37 replies
CC#
Created by brdzga on 11/26/2024 in #help
✅ I can't understand
thanks
37 replies
CC#
Created by brdzga on 11/26/2024 in #help
✅ I can't understand
alright
37 replies
CC#
Created by brdzga on 11/26/2024 in #help
✅ I can't understand
thanks jimacle
37 replies
CC#
Created by brdzga on 11/26/2024 in #help
✅ I can't understand
it took me like 20 minutes to fix such a simple code that i had errors not connected to the code at all
37 replies
CC#
Created by brdzga on 11/26/2024 in #help
✅ I can't understand
damn i finally fixed everything
37 replies
CC#
Created by brdzga on 11/26/2024 in #help
✅ I can't understand
i started whole new paper and now i get this error
37 replies
CC#
Created by brdzga on 11/26/2024 in #help
✅ I can't understand
No description
37 replies
CC#
Created by brdzga on 11/26/2024 in #help
✅ I can't understand
how can i fix it
37 replies
CC#
Created by brdzga on 11/26/2024 in #help
✅ I can't understand
@Jimmacle
37 replies
CC#
Created by brdzga on 11/26/2024 in #help
✅ I can't understand
No description
37 replies
CC#
Created by brdzga on 11/26/2024 in #help
✅ I can't understand
is there any reason why this code does not work?
int[] array1 = new int[4];
array1[0] = 45;
array1[1] = 7;
array1[2] = 3;
array1[3] = 8;


int[] array2 = new int[4];
array2[0] = 3;
array2[1] = 33;
array2[2] = 7;
array2[3] = 12;

int[] array3 = new int[4];


for (int i = 0; i < array1.Length; i++)
{
array3[i] = array1[i] + array2[array2.Length - 1 - i];
Console.WriteLine(array3[i]);
}
int[] array1 = new int[4];
array1[0] = 45;
array1[1] = 7;
array1[2] = 3;
array1[3] = 8;


int[] array2 = new int[4];
array2[0] = 3;
array2[1] = 33;
array2[2] = 7;
array2[3] = 12;

int[] array3 = new int[4];


for (int i = 0; i < array1.Length; i++)
{
array3[i] = array1[i] + array2[array2.Length - 1 - i];
Console.WriteLine(array3[i]);
}
it just does not work
37 replies
CC#
Created by brdzga on 11/26/2024 in #help
✅ I can't understand
thanks sir
37 replies
CC#
Created by brdzga on 11/26/2024 in #help
✅ I can't understand
I do understand it now, because I thought that array2.Length would be 3 so 3-1 was getting me confused
37 replies
CC#
Created by brdzga on 11/26/2024 in #help
✅ I can't understand
i thought it was giving you the element before the last one
37 replies
CC#
Created by brdzga on 11/26/2024 in #help
✅ I can't understand
it would be array2[2] in this case?
37 replies
CC#
Created by brdzga on 11/26/2024 in #help
✅ I can't understand
what happens here
37 replies
CC#
Created by brdzga on 11/26/2024 in #help
✅ I can't understand
array2[array2.Length - 1 - i];
37 replies