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:
d. All of the above
Explanation:
A software can be defined as a set of executable instructions (codes) or collection of data that is used typically to instruct a computer how to perform a specific task and to solve a particular problem.
A software development life cycle (SDLC) can be defined as a strategic process or methodology that defines the key steps or stages for creating and implementing high quality software applications.
In Computer science, management of software development consist of;
a. Process: it involves the stages through which a software application is analyzed, designed, developed, tested, etc.
b. People: it refers to the individuals involved in the software development process.
c. Project: it's the entirety of the stages a software goes through before it gets to the end user.
Answer:
OC. It will be a more positive experience if she spends time with her friend in person.
Explanation:
You should always spend time with people in person rather than online whenever you get the chance.
Your answer is B)<span>The Intel 4004</span>
Answer:
1 Introduce the problem.
2 Explain your perspective.
3 Explain your opponent's perspective. Refute their points one-by-one as you go.
4 Present your evidence.
5 Conclude your argument.
1 Introduce the problem.
2 Explain your opponent's perspective first. ...
3 Explain your perspective.
Explanation: