Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Kacper Sobczak
- #include <iostream>
- #include <cstdio>
- #include <stdlib.h>
- #include <conio.h>
- #include <iomanip>
- #include <time.h>
- using namespace std;
- int x;
- string tab;
- void cinn()
- {
- cin>>tab;
- }
- int main()
- {
- cinn();
- if(tab[tab.length()-1]=='a')
- {
- cout<<"Imie damskie";
- }
- else
- {
- cout<<"Imie meskie";
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement