2012-10-28, 09:01 PM
Locked Wrote:-snip-Not supposed to be learning vectors or arrays yet, so I can't use them. I'm supposed to create a solution using only while loops.
Also, the header:
#include <iostream>
#include <cstring>
#include <cmath>
#include <iomanip>
using namespace std;
int main () {
Has been declared for the problem, and cannot be changed in any way.

