As I said about the switch cases in a previous post, do the following :
1 - Remove the brackets from case 6 (line 64 and 86)
2 - Remove the brackets from case 7 (line 89 and 97)
Type: Posts; User: std10093
As I said about the switch cases in a previous post, do the following :
1 - Remove the brackets from case 6 (line 64 and 86)
2 - Remove the brackets from case 7 (line 89 and 97)
Write this
#include<iostream.>
as this
#include<iostream>
and insert a right bracket } in line 106, like this
}while ( choes != 0 );
ok, post the updated code :)
Having .h is not an error. But it should be good to follow this tip.
See again post#8, the first sentence of it.
Also leave a space before <iostream>, like this
include <iostream>
Check again for brackets
You read posts #8 and #9??? Are you sure you did everything mentioned there?
Take a look at Salem's picture. main should return int, not void.
You don't have to use braces in the switch for the cases. But if you, try to have the same style in all cases.
EDIT : Also...