FranciscoSoccol

Lista 04 - exercicio 16

Jun 25th, 2013
51
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.22 KB | None | 0 0
  1. //Solicite o nome do usuário, em seguida exiba-o na console.
  2. #include<stdio.h>
  3. int main()
  4. {
  5.     char nome[50];
  6.     printf("Digite o nome: ");
  7.     gets(nome);
  8.     printf("\n%s", nome);//exibe o nome
  9.     getch();
  10. }
Advertisement
Add Comment
Please, Sign In to add comment