<u> C++ Program to Print Pascal's Triangle</u>
#include<iostream>
//header file
using namespace std;
//driver function
int main()
{
int r;/*declaring r for Number of rows*/
cout << "Enter the number of rows : ";
cin >> r;
cout << endl;
for (int a = 0; a < r; a++)
{
int value = 1;
for (int b = 1; b < (r - a); b++)
/*Printing the indentation space*/
{
cout << " ";
}
for (int c = 0; c <= a; c++)
/*Finding value of binomial coefficient*/
{
cout << " " << value;
value = value * (a - c) / (c + 1);
}
cout << endl << endl;
}
cout << endl;
return 0;
}
<u>Output</u>
<u>Enter the number of rows : 5</u>
1
1 1
1 2 1
1 3 3 1
1 4 6 4 1
Answer would be D)potential
Answer:
This tool lets users change text from one language to another.
translation tool
This tool helps users find definitions for difficult vocabulary.
online dictionary
This tool allows users to listen to passages of text that they select.
text-to-speech tool
This tool helps users memorize vocabulary by giving them representations of words using pictures.
flash cards
Explanation:
just did the assignment on edg 2020
Answer:
6
Explanation:
97+3 = 100
89+11 = 100
83+17 = 100
71+29 = 100
59+41 = 100
53+47 = 100
I counted them using excel, see pic.