Okay, I have another code which I wrote first, which I found last night... Once again, the same dilemma, which is better. I understand that the one I mentioned first is better.
Kindly enlighten.
...
Type: Posts; User: sumitsatsangi
Okay, I have another code which I wrote first, which I found last night... Once again, the same dilemma, which is better. I understand that the one I mentioned first is better.
Kindly enlighten.
...
One more in the row... hope this time it is good...
- Sumit
#include<iostream>
using namespace std;
Thanks nGAGE... looks better... BTW, none of my codes are my homework... I took home tuition for C++ in order to understand programming concepts. Now they are over and I am working on my own,...
First of all, thanks for the help.
Well, I put the if block specifically there to test a situation where a user tries to input numbers below 10 many times (probably just for fun or whatever)
...
Hi,
I am new to programming and I just want to know if the code written below is good, average or bad as a professional programmer.
Thanks in advance.
Regards,
Sumit