You can't just give us a big code(even with no code tags!!) and simply ask us "what's wrong?"! What happens when you compile it? Does it even compile? If it doesn't, does the compiler say where the problem is? If it compiles, what happens when you run it? Does it simply crash at the beggining? Does it crash after some input? Does it crash after some output? Does it give any output? Does it give the right output? Does it get stuck in an infinite loop? Does it make your computer explode?
hi buddy,i used turbo c++3.0 to compile your code and it shows 9 error and 1 warning. But as soon as i specified the extension of the file iostream and iomanip in include command it reduced to only 3 errors.I just added '.h' to that command and changed them to #include<iostream.h> and #include<iomanip.h>. I'll bug those error too,as soon as possible.
@Athar -
will u please tell me which compiler u r using....
where will i get this compiler....
I'm actually studying Turbo c++ 3.0 as one of my subject at school....
Turbo C++ 3.0 was released in 1991. In 1991, C++ had no formal (ISO) definition; it was strung together based on the clues provided by Stroustrup. In the 21 years that have passed since then, C++ has gone through three formal versions (C++ 98, 03 and 11). If you learn C++ using a 21 year old compiler, you will miss out on two decades of language development and will not be learning what the rest of the world (including potential employers) consider to be C++.