Professional Documents
Culture Documents
Mohammad Azmeer 7
Mohammad Azmeer 7
#include<iostream>
#include<cctype>
int main()
char string[10], x;
cin.getline(string, 10);
x = string[0];
x = tolower(x);
string[0] = x;
else
else
else
}
return 0;
Main cpp
#include <iostream>#include<iostream>
#include<cctype>
int main()
char string[10], x;
cin.getline(string, 10);
x = string[0];
x = tolower(x);
string[0] = x;
else
else
else
}
return 0;
Output
White square