---
title: "Discussion on \"N Natural numbers its sum program\" | Hashnode"
description: "Discussion on \"N Natural numbers its sum program\". Explanation:\nStep 1: First we need to take the nth term value from the user. For that, we are taking the Scanner class object to take input.\nStep 2: With that input, we need to store that input number in some variable.\nStep 3: now we need to iterate ..."
url: "https://hashnode.com/posts/n-natural-numbers-its-sum-program/63a935c94e9cd5ae23e2e0fb"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [N Natural numbers its sum program](https://smartcookie.hashnode.dev/n-natural-numbers-its-sum-program?utm_source=hashnode&utm_medium=feed)

Explanation: Step 1: First we need to take the nth term value from the user. For that, we are taking the Scanner class object to take input. Step 2: With that input, we need to store that input number in some variable. Step 3: now we need to iterate ...

Dec 26, 2022 · 2 min read · smartcookie.hashnode.dev  
Read the article

-   [#nth-term-sum](https://hashnode.com/tag/nth-term-sum)
-   [#n-natural-numbers-program-in-java](https://hashnode.com/tag/n-natural-numbers-program-in-java)
-   [#java](https://hashnode.com/tag/java)
-   [#java-programming](https://hashnode.com/tag/java-programming)
-   [#java-interview-questions](https://hashnode.com/tag/java-interview-questions)

## Written by

[Madhu Palle](https://hashnode.com/@smartcookie)

@smartcookie · INDIA

  
[View profile](https://hashnode.com/@smartcookie)

Go with the flow

IIIT - N Software Geek. Startup Enthusiast. Build for the Future.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
