where is the my fault
where is the my fault
Do you mean other than not posting your code inside the post instead of in an attachment?
Or is there some kind of problem with your code?
Why did you post a "C++" program in the C forum?
Jim
I echo Jim's sentiments.
Read How To Ask Questions The Smart Way (don't take the title too personally). Following the guidelines there will make sure you get the most out of your forum experiences.
Then, tell us what errors you are seeing. Are they compiler errors? Make sure to copy-paste them exactly, with corresponding line numbers. Runtime errors? Does it crash? Do you get no/incorrect output? What input are you giving it? What output do you expect to see for that input?
The main-function returns an integer, but there is no return-statement in your code.
Is that what you mean?
Other have classes, we are class