You are able to mark your answers on tests and save your work, while on paper, you get it taken away from you.
Answer:
yes you should get a 10 bc it not to much and u can still get something cool
Answer:
public class Pyramid {
public static void main(String[] args) {
int h = 7;
System.out.println("Pattern A");
for(int i = 1; i <= h; ++i)
{
for(int j = 1; j <= i; ++j) {
System.out.print("+");
}
System.out.println();
}
System.out.println();
System.out.println("Pattern B");
for (int i = 1; i<=h; ++i)
{
for(int j = h; j >=i; --j){
System.out.print("+");
}
System.out.println();
}
}
}
Explanation:
- The trick in this code is using a nested for loop
- The outer for loop runs from i = 0 to the heigth of the triangle (in this case 7)
- The inner for loop which prints the (+) sign runs from j = 0 to j<=i
- It prints the + using the print() function and not println()
- In the pattern B the loop is reversed to start from i = height
Answer:
They result in a clear and concise statement of the problem
They ensure that all stakeholder needs are considered.
They result in a document that is easy to understand
Explanation:
Problem statement are very vital in research they are key notes that tells what the research is all about and solution it will provide. They are key notes to understand a research and the knowledge gap the research is filling.
Problem statement is a guide through which solution are measured, it gives a clear direction of what the research is all about.
Problem statement are usually easy to understand, they are written in ways that everyone who picks the paper up can understand why the research was conducted.
All this are why a problem statement is important.
def print_feet_inch_short(num_feet, num_inches):
#function named print_feet_inch_short takes in two arguments.
print(str(num_feet)+"'",str(num_inches)+"\"")
#output the feet and inch value supplied with the shorthand sign of feet and inch using string concatenation.
num_feet = int(input())
#allows user to specify a feet value and stores it in num_feet
num_inches = int(input())
#allows user to specify an inch value and stores it in num_inch
print_feet_inch_short(num_feet, num_inches)
#calling the function with the number of feets and inches given by user.
Learn more : brainly.com/question/18318709