JAVA PRINT SUM OF NATURAL NUMBER IN JAVA suraj | June 6, 2023 In this code, the user is prompted to enter a positive integer. Then, a for loop is used to iterate from 1 to the given number (n). The Read More