I assume you are talking about Excel?. You first--enter your initial date on the first cell and click the cell with the first date to select it, then drag the fill handle.
The program that will print (SQUARE) of first 10 natural numbers using while loop is given below.
<h3>What is the code that returns the above result?</h3>
The program that returns the above result is:
public class KboatNaturalNumbers
{
public static void main(String args[]) {
int n = 1;
int sum = 0;
while (n <= 10) {
System.out.println(n);
sum = sum + n;
n = n + 1;
}
System.out.println("Sum = " + sum);
}
}
<h3>What is a loop?</h3>
A loop is a set of instructions that are repeatedly carried out until a specific condition is met in computer programming.
In most cases, a given procedure, such as collecting data and changing it, is followed by a condition check, such as determining whether a counter has hit a predetermined number.
Learn more about loops:
brainly.com/question/26568485
#SPJ1
Answer:
Your computer does not support this code because you have put spaces in between the code, or maybe that is how you have written the question.
Yes, I think tell me if I'm wrong