Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <stdlib.h>
- #include <stdbool.h>
- #include <conio.h>
- int main()
- {
- int i;
- char h;
- int umwandlung;
- char wdh;
- for (i=66; i<=90; ++i)
- {
- if(i==69 || i==73 || i==79 || i==85)
- {
- continue;
- }
- char c=(char)i;
- printf("%c %i \n", c, i);
- }
- for (i=98; i<=122; ++i)
- {
- if( i==101 || i==105 || i==111 || i==117)
- {
- continue;
- }
- char c=(char)i;
- printf("%c %i \n", c, i);
- }
- do{
- printf("Bitte grossbuchstabe eingeben \n");
- h = getche();
- printf("\n");
- umwandlung = h + 32;
- printf("%c \n", (char) umwandlung);
- printf("willst du noch j fuer ja n fuer nein \n");
- wdh = getche();
- } while( wdh=='j' );
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement