954,500 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

help with a should be easy c++ problem

ok im having this problem.
i have a function in which i have to create a triangle using *'s. The user inputs the base and height of the triangle and from that im supposed to print out the shape. Ive been playing with for, and while loops and cant seem to figure it out. Also im not allowed to use string, basically all i can use to solve this is for and while loops.

if anyone has any ideas or solutions it would be greatly appreciated...

rpglw18
Newbie Poster
2 posts since Oct 2004
Reputation Points: 10
Solved Threads: 0
 

actually noone reply, i figured it out...

rpglw18
Newbie Poster
2 posts since Oct 2004
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You