#include<iostream.h>
main(){
int answer;
for(int index = 12; index >= 1; i--){
answer=3*i;
cout<<index<<" times 3 = "<<answer<<endl;
}
}
Iwish that hels you GOOD LUCKk
-iostream.h should be iostream
-it's int main
-you're mixing index with the variable i
etc etc and use [code][/code] tags next time.
Last edited by iamthwee; Jun 1st, 2009 at 6:53 am.
Reputation Points: 1536
Solved Threads: 431
Posting Expert
Offline 5,865 posts
since Aug 2005