// 8.4.26aExercise.cpp : This file contains the 'main' function. Program execution begins and ends there.//#include<iostream>usingnamespacestd;intmain(){intbase=0;cout<<"Input the size of the base of the triange: ";cin>>base;for(inti=base;i>0;i--){for(intj=0;j<i;j++){cout<<"*";}cout<<endl;}}