<h2>The alignment of the text will be "left" by default</h2>
Explanation:
- In Excel or spreadsheet, if any number is entered, it will automatically be aligned to right because right alignment is preferable for the numbers.
- In case of any alignment is mentioned in the cell in prior to entering text or if the type of data is changed after or before entering the text, then the text is aligned accordingly.
- According to the given scenario, a number "25" is entered and it is converted to text. So a text format will preserve the alignment as entered. By default it will be "left" aligned.
Answer:
this belongs on r/ihadastroke
Explanation:
Answer:
class OddNumber
{
public static void main(String args[])
{
int n = 1000; //Store 1000 in Variable n typed integer
System.out.print("Odd Numbers from 1 to 1000 are:"); // Print headline of output window
for (int i = 1; i <= n; i++) //For loop to go through each number till end
{
if (i % 2 != 0) //check if number is even or odd.Not divisible by 2 without reminder means it is odd number
{
System.out.print(i + " "); //print odd numbers
}
}
}
}