I agree with "The Perfect Gentleman" :)
Type: Posts; User: manav
I agree with "The Perfect Gentleman" :)
Sometimes if you write less code, that means you did fewer things, that means you had to know fewer things, that means you learned it quicker, that simply means it was easier! So yes, sometimes...
That's the point of ignorant learner/teacher, you teach/learn arrays, but did not teach/learn that array start from 0, and end at size-1, if you count in head 0...9 is already 10 elements, so there...
My general view is that C++ is good for starters!
My gut feeling is that it is better for starters!!
Well that basically applies to all the languages, Java, C++ or Python!
But newbies need to write small programs to get started! I found C++ version to be smaller, more clear, easy!
I was saying...
I did not know about Scanner :D New addition I guess =_=
No excuse, but arranged by the size of code, smallest to largest:
Python
C++
Java
C++ is behind Python because of 3 lines declaring...
Yeah. I agree!
lol! :D you funny! i know that you know what i meant! ;)
C++ version:
#include <iostream>
using namespace std;
int main()
{
cout << "Simple Interest Calculator" << endl;
cout << "Enter Principal amount, interest rate and number of years: ";
How nice to know them from the start! The newbie is not under pressure of making the first release of his software before the last week of the first month! :D
Besides C++ is really easy for newbie...
Do no discourage people who wish to learn C++.
I think it is perfectly valid and useful to learn C++ even before any other language is learned!
C++ has some really good stuff to ease the newbies!...