Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <conio.h>
- #include <iostream>
- #include <stdlib.h>
- using namespace std;
- int main()
- {
- char c1;
- cout << "escribe un caracter" << endl;
- cin >> c1;
- switch (c1)
- {
- case 'a':
- case 'e':
- case 'i':
- case 'o':
- case 'u':
- cout << "es una vocal nya :3" << endl;
- break;
- default:
- cout << "es una consonante" << endl;
- }
- system("pause");
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment