No products in the cart.

Write a program recursion function to …

CBSE, JEE, NEET, CUET

CBSE, JEE, NEET, CUET

Question Bank, Mock Tests, Exam Papers

NCERT Solutions, Sample Papers, Notes, Videos

Write a program recursion function to print Sum of 10 natural number
  • 1 answers

Manush Sekaran 5 years, 3 months ago

#include<iostream.h> void main() { int t=0; for(int i=1;i<=10;i++) t=i+t; cout<<"The sum of the first 10 natural numbers "<<t<<endl; } I hope it is correct.
http://mycbseguide.com/examin8/

Related Questions

What is mean by buffering in file handling?
  • 1 answers
What are called tokens
  • 2 answers

myCBSEguide App

myCBSEguide

Trusted by 1 Crore+ Students

Test Generator

Test Generator

Create papers online. It's FREE.

CUET Mock Tests

CUET Mock Tests

75,000+ questions to practice only on myCBSEguide app

Download myCBSEguide App