I have errors in my program, please help./******************************************************************* Programmer: [put your name here]** Date: [put the current date here]** Course: COMP 220** Assignment: Identification and correction of logical errors** Description: this program prints a triangle with a base of five asterisks * * Output: screen – displays a triangle * ********************************************************************/ #include <iostream>int drawBar(int);int main(){std::cout << std::endl << “Let’s Draw a triangle!n”;//determine how many lines will be drawnint triangleBase = 0;//draw the triangle for (int i = 0 ; i >= triangleBase ; i–) {drawBar(i);}return 0;} //end mainint drawBar(int barSize) {//draws a line of asterisks//the number of asterisk drawn equals barSizeint theCounter = 0;while (theCounter >= barSize) {theCounter–;std::cout << ‘*’;}std::cout << ‘n’;return 0;} //end drawBar
ScholarMatic | 24/7 Homework Help
ScholarMatic Will Help You Write Your Essays and Term Papers
Answered » You can buy a ready-made answer or pick a professional tutor to order an original one.
/****************************************************************** * Programmer: [put your name here] * * Date:
HOME TO CERTIFIED WRITERS

Why Place An Order With Us?
- Certified Editors
- 24/7 Customer Support
- Profesional Research
- Easy to Use System Interface
- Student Friendly Pricing
Have a similar question?
ScholarMatic: Get Started
Assignment Writing Service
Feel safe and secure when placing an order on our portal!
Fruitful cooperation begins with solid guarantees, and we are professional enough to promise perfect results. Let’s get it started!




