@ -137,8 +137,9 @@ double balanceToDouble(char *balanceAsString)
}
return sign * result / power;
bool charIsUp(char c)
bool characterIsUpperCase(char inputCharacter)
{
bool result = (c>='A'&&c<='Z') ? true : false;
bool result = (inputCharacter>='A'&&inputCharacter<='Z') ? true : false;
return result;
@ -13,5 +13,5 @@ unsigned int power(unsigned int, unsigned int);
bool everyCharacterIsDigit(char *);
bool isLetterOfAlphabet(char *);
double balanceToDouble(char *);
bool charIsUp(char );
bool charIsUpperCase(char );
#endif