Question #5350095
please if anyone has knowledge of functions PLEASE!!!?
DO I NEED TO know Pescal's triangle in this? an Output function Triangle, which takes one integer argument SIDE and outputs a triangle of numbers. For example Triangle(2) outputs: 22 1 and Triangle(5) outputs: 55555 4444 333 22 1 void Triangle (int SIDE) { // insert your C++ code here } // test driver int main() { cout << “ How big a triangle do you want: â€; int x; cin >> x; Triangle(x);
TELL US , if you have any answer
Sponsored ads
TAG cloud