Computer Science, asked by ritwik46, 1 year ago

write a program in Java to find the sum of the following series 1+(1+2)+(1+2+3)+............n terms

Answers

Answered by tirthan
3
HOPE YOU LIKE THE ANSWER
Attachments:

tirthan: here isr is for inputstreamreader and br
tirthan: for bufferedreader
ritwik46: writing samaj m ni aa raha h
tirthan: n? is for input buy Integrer.pareInt(br.readLine())
ritwik46: scnner s bna do plz
tirthan: i apologize for that
Similar questions