Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* TERNOGON.NET | MIREA 20X8 */
- #include <iostream>
- using namespace std;
- bool lat(char symbol){
- cout << "S = " << symbol << endl;
- if ((symbol >= 65 and symbol <= 90) or (symbol >= 97 and symbol <= 122)) {
- return false;
- }
- else
- return true;
- }
- int main(){
- char C;
- cin >> C;
- if (lat(C) == 1) {
- cout << "True";
- }
- else
- cout << "False";
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement