Created
August 30, 2016 13:10
-
-
Save edgardmota/7108571209a33208cce25a02d6abef57 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
int main(void) | |
{ | |
char nome[21], sobrenome[21]; | |
printf("Primeiro nome: "); | |
scanf("%s", nome); | |
printf("Ultimo sobrenome: "); | |
scanf("%s", sobrenome); | |
printf("Ola senhor %s, %s!\n", sobrenome, nome); | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment