#include<stdio.h>
#include<stdlib.h>
#include <stdbool.h>
bool islowcase(char n)
{
if(n>=97 && n<=122)
return true;
else
return false;
}
void strupper(char c){
if(islowcase(c)){
c=c-32;
}
printf("%c",c);
}
int main(){
char c='a';
char d='D';
strupper(c);
strupper(d);
}
Get Answers For Free
Most questions answered within 1 hours.