Question
The given program is to print the sum of the first n natural number, complete the code for the same:__________ .

Answer

 I < =n: and sum += i

Need a full question paper?

Generate a complete, print-ready paper with questions like this in minutes — across 16+ boards, with answer keys.

Start Generating Free