Java Program to find the sum of natural numbers.1 min read

Output: