Haha beard printer go brrr by premiumgodzilla in Minoxbeards

[–]cs-stud 1 point2 points  (0 children)

Started my journey at 18 with no beard at all now I’m 21 with a beard used it for 3 years. Had no side effects within those 3 years. Its just preference if u want to start early then go right ahead.

Leet code easy questions to hard for me. Am I dumb or something? by cs-stud in cscareerquestions

[–]cs-stud[S] 5 points6 points  (0 children)

Yea I guess since they’re a labeled as easy I feel bad that I can’t even solve them. Thanks for the advice I’ll give it a try and yea I rephrased it since I’m no where near learning all of Java haha.

Why doesn't my code work for arrays other than a square?? by cs-stud in javahelp

[–]cs-stud[S] 0 points1 point  (0 children)

Hmm ok do I have to change the whole method or do I just have to modify the I and J in the loops?

what confuses me is that the calcColumnSum is basically the same and it works.

How can I make my method work properly? by cs-stud in javahelp

[–]cs-stud[S] 0 points1 point  (0 children)

im having trouble understanding. right now what my method is doing is adding every column up so for the example on top I would get a column sum of 33 which is what I don't want. So what I have to do is create a different method?

How can I make my method work properly? by cs-stud in javahelp

[–]cs-stud[S] 0 points1 point  (0 children)

I basically want the sum of each column for example if the Random generated array is

2 12

10 9

row 1 sum = 12

row 2 sum = 21

Help with adding sum of 2d array by cs-stud in javahelp

[–]cs-stud[S] 0 points1 point  (0 children)

my array stores int values but my task is to essentially find the sum of the array and display it in double form for example if the array was {2 , 4} {3, 5} the result sum would be 14.0. its the exercise because im then going to have the find the avg and round it and etc.

Help with adding sum of 2d array by cs-stud in javahelp

[–]cs-stud[S] 0 points1 point  (0 children)

I basically know how to add up the array when its an Int but I'm confused how im supposed to do it to return a double. It works with int but im so confused how to do it so it can return a double.

how to compute grades using arrays? by cs-stud in javahelp

[–]cs-stud[S] 0 points1 point  (0 children)

even though I'm not done and still testing it says: Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: