window.document.write("I + studying + " " + course + " for "+ year +" years,"+ “ “ +type);
I think DrDOS has the right of this one...though maybe not in the way he is expressing it.
Question: WHY BOTHER with checking the validity
I'm game, deal me in. What should a typical string look like, before and after? Can there be extra spaces around the numbers and symbols? HTML ignores
using namespace std;
ifstream cin ("cikls11.in");
I don't think you are going to find anything approaching your assignment as an online tutorial, but who knows...Google is your friend. I think you will