write a program to print the first 10 natural numbers
Answers
Answered by
7
N=1
B:
If N < 10 THEN GOTO A ELSE GOTO C
END
B:
If N < 10 THEN GOTO A ELSE GOTO C
END
Answered by
4
int n = Integer.parseInt(jTextField1.getText());
for(n=1;n<=10;n++)
{
jTextArea1.append(" " + n);
}
for(n=1;n<=10;n++)
{
jTextArea1.append(" " + n);
}
Similar questions