Computer Science, asked by kumarimonica5572, 1 year ago

Write a program in java to display all the natural numbers from 1to 10

Answers

Answered by oraclenaren200palkoj
1
for(int I=1;I<=10;I++)
{
system.out.printin("natural numbers between 1 to 10"+I);
}
hope it helps
please mark me as brainliest
Similar questions