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
5 Antworten
+ 3
Does "the sum of 1 to n" means "1+n" ?
+ 2
Bad grammar... can you explain the description clearer?
+ 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
0
Yes sorry