Answer:
The program to this question can be given as:
Program:
public class Main //define class.
{
public static void main(String[] as) //define main method.
{
int n=5; //define variable n and assign positive value.
int i,j; //define variable
for (i = 7; i>=1; i--) //outer loop.
{
for (j = 0; j< i; j++) //inner loop.
{
System.out.print("*"); //print asterisks.
}
System.out.println(); //line break.
}
}
}
Output:
*****
****
***
**
*
Explanation:
The description of the above code can be given as:
- In the above java programming code firstly we define a class that is "Main". In this class we define a main method in the main method we define a variables that is "n" in this variable we assign a positive value. The we define another integer variable that is i,j this variable is used in the loop.
- Then we define a loop. for prints asterisks values in reverse triangle, we nested looping concept. In nested looping, we use in loop in this loop we use the i and j variables that print the asterisks value.
Answer:
Um im i supposed to read all of that im hell no anyways bye bestie have fun
Answer:
Option C: Press Shift + F3 to access the Insert Function dialog box to look for a function that counts items.
is the correct answer.
Explanation:
As Alex wants to find a function that is capable of counting item reference numbers that he is inserting into a spread sheet, so she should:
- Press Shift + F3
- This key would present a dialogue box on the screen.
- The dialogue box will have the option that will search for the functions inserted.
- Item counting function will be inserted into the dialogue box and press ok.
All other options will not help Alex in the respective manner.
<h2> hope it will help you!</h2>
The range() function with one parameter defaults to a starting value of 0 and has an ending value of the number specified exclusive.
range(4) is all the integers between 0 and 4 not including 4.
for num in range(4):
print(num*2)
The output would be 0 2 4 6 all on separate lines.