hi, im new here!
I would like to get some help with a little coding. Imagine a for loop in Intellij from 1 to 39. I need the total sum of every number between 1 to 39. Answer should be 780.
I just cant figure out how to do this, ive searched for 2 days but no succes. Can someone help me with this?
thanks. This is my first post, if I did something wrong, id like to apoligize also.