@gelatine
I wanted to know each of the 3 answer for the code above...
if you return an integer you should write int.
What u mean by "return"? Is that all the program related to number must use a int instead of void? But why line 6 use int main() since it also don't play with value? TQ...
@vlad from moscow
Thanks for the 1 and 3 and a modified arrangement, actually that's a simple program I got from C++ book, but then it ask for that 3 answer...so I think there should have answer for 2 is it? TQ...