0

Java

Write a java program to calculate sum of 1 to n ,each line will contain a integer n ,using scanner to read numbers is recommended

12th May 2018, 11:40 AM
Blessing
5 Antworten
+ 3
Does "the sum of 1 to n" means "1+n" ?
12th May 2018, 11:58 AM
Ibaadi Jaya
Ibaadi Jaya - avatar
+ 2
Bad grammar... can you explain the description clearer?
12th May 2018, 11:47 AM
Ibaadi Jaya
Ibaadi Jaya - avatar
+ 1
Write a program to calculate the sum of 1 to n Each line will contain a integer n ,using scanner to read numbers is recommended. Print the results of the sum from 1 to n
12th May 2018, 11:56 AM
Blessing
0
Yes sorry
12th May 2018, 11:59 AM
Blessing
21st May 2018, 11:41 PM
Ibaadi Jaya
Ibaadi Jaya - avatar