YAY! I got it, sorry to waste your time. I created a new variable and called it length, this way it didn't affect the outer loop. Now it looks like this:
#include <iostream>
using namespace...
Type: Posts; User: jensklemp
YAY! I got it, sorry to waste your time. I created a new variable and called it length, this way it didn't affect the outer loop. Now it looks like this:
#include <iostream>
using namespace...
Sorry somehow my brain told me to write main instead of width which I wanted.
Why would I want to count backwards?
Hi again all,
I am having some troubles making this program. Here is the assignment:
Write a computer program that prints a triangle of digits. Your program must read two positive integers...
Thanks a lot got it figured out :)
Here is my code. Again, should be very simple to solve my issue. I don't think just adding a cent would work because then it would be one cent over in some cases (say the user puts in 5.00.
...
Hey everyone,
I am new to this forum and was hoping someone could help me out quickly. I am currently taking my first computer programming class (Introduction to C++ Programming) and am stumped...