Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <stdlib.h>
- #include <math.h>
- int main(){
- char tel[50];
- char end[50];
- char nome[50];
- printf("Digite seu nome\n");
- scanf("%[^\n]s",&nome);
- fflush(stdin);
- printf("Digite seu endereco\n");
- scanf("%[^\n]s",&end);
- fflush(stdin);
- printf("Digite seu telefone\n");
- scanf("%[^\n]s",&tel);
- fflush(stdin);
- printf("seu nome eh %s\n",nome);
- printf("seu endereco eh %s\n",end);
- printf("seu telefone eh %s\n",tel);
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement