Write a function that receives a letter then returns the next and previous letters. and this is my Solution
#include <iostream>
using namespace std;
void letter(char &x);
int main(){
char a;
cout<<"Enter your letter\n:";
cin>>a;
cout<<letter(a)<<endl;
system("pause");
return 0;}
void letter(char &x){
cout<<x+1<<" "<<x-1<<endl;
}
while trying to match the argument list '(std::ostream, void)' what is that mean ?