Advertisement
Guest User

Untitled

a guest
May 19th, 2017
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.25 KB | None | 0 0
  1. #include <stdio.h>
  2. #include <conio.h>
  3. #define MAX 30
  4. int main() {
  5.     int string[MAX], string_contra[MAX];
  6.     printf (" Digite uma string: ");
  7.     scanf("%30[a-z A-Z ]s" ,string);
  8.     printf("A string digitada foi: %s" ,string);
  9.     getch();
  10. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement