Computer Science, asked by mamonimandalmamonima, 3 months ago

write the program to print the sum of ten natural number ​

Answers

Answered by dhanwaniharsh5
0

Answer:

public class Brainly_answer_by_harsh

{

public static void main(String args[ ])

{

for(int i=1;i<1`;i++)

int sum+=i;

System.out.println("sum of numbers=" + +sum);

}}

Similar questions