10-15-2013, 02:13 PM | #1 |
FFR Veteran
Join Date: Jan 2007
Age: 33
Posts: 2,407
|
Requesting help for programming/ CS majors?
This is probably easy for most, but I can't seem to figure it out. This is in C++ btw.
#include <iostream> using namespace std; int main() { int name[12]; int i; for(int i=0; i<12; i++) name[i] = i; for(i=0; i<12; i++) cout << "This is letter ["<< i <<"]: " << name[i] << "\n"; } int dummy; cin >> dummy; return 0; } I have to use dummy's because the PC won't display anything without it. This is what I have so far, I'm not really sure about what to do from here. I'm not even sure if this is correct, lol. Help>
__________________
Last edited by Superfreak04; 10-21-2013 at 08:37 PM.. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|