Search found 1 match

by Mr.V
Wed Oct 04, 2006 9:38 pm
Forum: Volume 1 (100-199)
Topic: 100 - The 3n + 1 problem
Replies: 1394
Views: 319113

Yes..again 3n+1

Is there any errors in this code?? I don't think so, but it seems to be wrong...maybe someone could tell me what's the matter?

#include <iostream.h>


void main()
{


int n,k,i[100],j[100],t,mX[100],m=-1;



cout<<"Enter the numbers of period:\n";
while(true){
++m;
int ii,jj;
cin>>i[m]>>j[m ...

Go to advanced search