Answer it your own self everybody can't always give u the answers
Answer:
The python program is given with appropriate comments
Explanation:
#Implementation of printStars function
def printStars(n):
#check if n is greater than 0
if n>0:
for i in range(n):
print ('*', end="")
#Declare starCount and initialize some negative integer
starCount = -8
if starCount>0:
print ('*', end="")
printStars(starCount-1)
<span>arrange a list of names in alphabetical order, compile a list of product inventory levels from highest to lowest, or order rows by colors or icons</span>
Answer:
A milestone is a significant progress point within your project. Milestones' main purpose is to set goals you have to achieve in order to succeed and complete your project
Explanation:
-Example 1-
You have to write a report for your project. This report contains introduction, problem background, results, and recommendations. The milestones for writing your report could be:
Milestone 1: introduction section is completed
Milestone 2: problem background section is completed
Milestone 3: results section is completed
Milestone 4: recommendations section is completed
-Example 2-
You have to design a webpage that allows the user to login, enters his/her name, and logout. The milestones in this case could be:
Milestone 1: login functionality is completed
Milestone 2: text field for typing the name is placed
Milestone 3: submit name button functionality is completed
Milestone 4: logout button functionality is completed
Milestone 5: all components of the webpage are fully integrated
You might think the goals in these examples can be set differently, and that is true. The definition of the milestones is in general subjective and it depends on how you design the steps you want to follow to complete your project. You might also want to add these milestones to a timeline so you have an estimated schedule of the development of your project.
import java.util.Scanner;
public class InchesToFeetInteractive
{
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
final int INCHES_IN_FOOT = 12;
int inches = scan.nextInt();
int feet;
int inchesLeft;
feet = inches / INCHES_IN_FOOT;
inchesLeft = inches % INCHES_IN_FOOT;
System.out.println(inches + " inches is " +
feet + " feet and " + inchesLeft + " inches");
}
}
We import the Scanner class and then initialize a new Scanner named scan. We then get an integer representation of inches from the user and calculate the feet and inches from the value entered by the user.