How to prevent int becoming less than 0 in while loop ?you can not unless you change [code] sk++; h=sk*sk; l-=h*v; [/code] because it is math but if you w...
array[code] int x[5]; for(int i=0;i<5;i++) cin>>x[i]; [/code] x[0] indicates to the first element...
Reading a txt file to create 2D and 1D arrayshi i do not know what do you want? but i fix your code to work [code] #include <iostream> #include ...
This user does not accept Private Messages