Answer:
it will display in this pattern X XX XXX XXXX XXXXX
#include <iostream>
using namespace std;
int
main ()
{
int a,i, j=0;
cout << "enter number for length of triangle";
cin >> i;
for ( a = 1; a <= i; a++)
{
for (j = 1; j <= a; j++)
{
cout << "X";
}
cout<<" ";
}
}
for this
X
XX
XXX
XXXX
XXXXX
#include <iostream>
using namespace std;
int
main ()
{
int a,i, j=0;
cout << "enter number for length of triangle";
cin >> i;
for ( a = 1; a <= i; a++)
{
for (j = 1; j <= a; j++)
{
cout << "X";
}
cout<<endl;
}
}
Answer:
Computer is called versatile and diligent device because it is used in almost all the fields for various purposes and it can perform the task repeatedly without loosing its speed and accuracy for long time.
Answer:
False
Explanation:
High quality page for a common interpretation always have different Needs Met rating than the high quality page for a minor interpretation of the query.
Although, both of this pages are of high quality we must differentiate the common from a minor interpretation of a query.
Needs Met should always know to place the high quality pages in a resolution hierarchy.
Answer:
def brute_force(array1, array2):
for item in array1:
for element in array 2:
if element == item:
print(f"{element} and {item} are a match")
Explanation:
A brute-force algorithm is a direct-to-solution algorithm that searches and compares variables. It is like trying to unlock a safe but not knowing its four-digit combination, brute-force starts from 0000 through 9999 to get a match.
The python program implements the algorithm using two nested for loops. The first loop iterates over array1 while the second, over array2. For every item in the first array, the program loops through the length of the second array. For every match, the items are printed on the screen.
Your answer would be a coping saw!
Coping saws are most commonly used cutting woof in design and technology! :)