I am a newbie in Java programming. There're one question requesting us to construct an algorithm to sum up all the odd numbers from 0 to 100.
Is this consider an algorithm?
• Start
• set sum to 0
• set number counter to 1
• while number counter <= 100
• add 2 to the number counter
• sum = sum + number counter
• Print “sum”
• End