Computer Science, asked by priyanshu300, 1 year ago

write a program to print the first 10 natural numbers

Answers

Answered by cad1
7
N=1
B:
If N < 10 THEN GOTO A ELSE GOTO C
END
Answered by aria27
4
int n = Integer.parseInt(jTextField1.getText());
for(n=1;n<=10;n++)
{
  jTextArea1.append(" " + n);
}
Similar questions