1.

Wap to print sum of first 10 numbers using loop and subroutine​

Answer»

ANSWER:

class SUM{

PUBLIC static void MAIN {

int i;

for (i=0;i<10;I++;)

System.out.print(i);

}

}

Explanation:

hope you understood , please mark me as brainlist



Discussion

No Comment Found