I love this programme :P
#include <iostream>
#include <string>
using namespace std;
char lowerCase(char input0 = 0);
char upperCase(char input1 = 0);
int main()
{
char character = 0;
while(true)
{
cout << "Enter a Character to change case: ";
cin >> character;
cout << endl;
if(character > 64 && character < 92)
{
cout << character << endl;
cout << lowerCase(character) << endl;
}
else if (character > 96 && character < 123)
{
cout << character << endl;
cout << upperCase(character) << endl;
}
else{continue;}
}
}
char lowerCase(char input0)
{
char j = 0;
j = input0 + 32;
return j;
}
char upperCase(char input1)
{
char i = 0;
i = input1 - 32;
return i;
}