I'm a total JS noobie, and I'm trying to make it so that after one input is entered all of the numbers between 0 and that input are added up, including the input. Here is the basic pseudo code I'm trying to accomplish but i can't figure it out?
get count from user
loop up to count{
add current number to sum
}
display sum
display breakline
loop up to count with a different loop type{
add current number to sum
}
display sum