Discover collections and communities that match your interests.
#include<iostream.h> void main() { int a,n,sum=0; cout<<"Enter nth term of series i.e last term"<<endl; cin>>n; for(a=1;a<=n;a++) { sum=sum+a; } cout<<"Sum of Series is::"<<sum; }
Copyright © 2019 - All Rights Reserved | Developed by CSDT IT SOLUTION