SHARE
TWEET

Untitled

a guest May 19th, 2017 43 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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. }
RAW Paste Data
Top