1.

Write a program in java to find out the sum of n number without using loop or any break statement.

Answer»

Answer:

Secondary SCHOOL Computer science 5+3 pts

Write a program in java to find out the SUM of n number without using loop or any break statement.

Ask for details by VaniSna 23.07.2019

Answers

The Brain

THE BRAINLIEST ANSWER!

Vyomsingh

Vyomsingh Ace

Answer:

class Sum

{

int a,b,sum,k;

public static void main(int n)

{

sum=sum+a+b;

k++;

if(k

{

main();

}

}

}

/*EXPLANATION:

PLEASE MARK ME AS BRAINLIEST!!!!*/

Explanation:



Discussion

No Comment Found