using namespace std;
Int main ()
{
Cout & lt; <"Enter the password for six:" & lt;
A=345678;
Cin & gt;> a;
If (a!=345678) cout & lt; <" Wrong oh ";
The else cout & lt; <"This is a useless program"
}
Int (e)
{
Cout & lt; <"Qq" & lt;
}
//why int (e) unable to call
CodePudding user response:
If the function to write after the main function is to write the function prototype before the main functionCodePudding user response:
Thank you very much! Know that!CodePudding user response:
//sure?#include
using namespace std;
Int main ()
{
Cout & lt; <"Enter the password for six:" & lt;
A=345678;
Cin & gt;> a;
If (a!=345678) cout & lt; <" Wrong oh ";
The else cout & lt; <"This is a useless program"
}
Int (e)
{
Cout & lt; <"Qq" & lt;
}
//why int (e) unable to call
CodePudding user response:
Call is e ()CodePudding user response:
# include & lt; iostream>
using namespace std;
Int (e)
{
Cout & lt; <"Qq" & lt;Cout & lt; <"QQQQQ" & lt; return 0;
}
Int main ()
{
Cout & lt; <"Enter the password for six:" & lt;Int a;
A=345678;
Cin & gt;> a;
If (a!=345678) cout & lt; <" Wrong oh ";
The else cout & lt; <"This is a useless program"(e);
}