Answer:
Without Recursives
// Program is written using C++
// Comments are used for explanatory purpose
int main()
{
// Declare integer number, n
int n;
cout<<"Enter number of starts to print"
cin>>n;
// Iterate through to print * pattern
for(i=n; i>0;i--)
{
for(j=n; i>j-1;j--)
{
cout<<"*";
}
cout<"\n";
}
for(i=0; i< n; i++)
{
for(j=0;j<=i;j++)
{
cout<<"*";;
}
cout<"\n";
}
return 0;
}
Using Recursive
#include <iostream>
using namespace std;
void printStars(int lines);
int main()
{
// prompt the user to enter a number
int lines;
cin>> lines;
printStars(int lines);
return 0;
}
void printStars(int lines)
{
if (lines < 1)
return;
// to print the stars of a particular row
if (i <= lines)
{
cout << "* ";
// recursively print rest of the stars
// of the row
printPatternRecur(lines, i + 1);
}
else
{
// change line
cout << endl;
// print stars
printPatternRecur(lines-1, 1);
}
}
Answer:
Instrument Landing System
Explanation:
The ILS works by sending radio waves from the runway to the aircraft. Which is then intercepted and is used to guide the aircraft onto the runway.
Answer:
The laminar flow is generally given in high viscosity fluids such as honey or oil, it has the characteristic of flowing in an orderly manner, the walls of the tube have a zero speed while in the center it has a maximum speed.
turbulent flow is characterized by fluid velocity vectors presenting themselves in a disorderly manner and in all directions.
I attached the drawings for the velocity profile in laminar and turbulent flow.
A design brief should highlight the problem and specifications for the solution.
<h3>What is an electrical circuit?</h3>
An electrical circuit can be defined as an interconnection of different electrical components, in order to create a pathway for the flow of electric current (electrons) due to a driving voltage.
<h3>The components of an electrical circuit.</h3>
Generally, an electrical circuit comprises the following electrical components:
<h3>What is a design brief?</h3>
A design brief can be defined as a short statement which is written to describe the need of an individual or business, and what type of solution will meet that need (problem) through the design of an electrical circuit.
This ultimately implies that, a design brief should highlight the problem and specifications for the solution.
Read more on design brief here: brainly.com/question/17848745
#SPJ1
Answer:
I think the answer is B. Black