Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <ctype.h>
- #include <stdio.h>
- #include <conio.h>
- main (void)
- {
- printf("Geologia");
- char frenteDeOnda[0] = "Interface entre partículas que já estão em vibração e outras que ainda não estão";
- // char hipocentro[0] = ("
- char input[0];
- printf("\nEscreve a materia que queres estudar: ");
- gets (input);
- int i;
- char materia[0];
- for (i = 0; input[i]-1; i++)
- materia[i] = toupper(input[i]);
- if (strcmp(materia,"FRENTE DE ONDA") == 0)
- {
- printf("%s",frenteDeOnda);
- }
- getch();
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement