pogram loop

 


//programs loop demo

int sum = 0;
for (int i = 1; i<=10; i++){
sum = sum + i;
}
textView.append("The num is " +sum+ "\n");

Comments

Popular posts from this blog

do Wile loop

Factorical Number 5 teke chotto example 4 3 2 1