seergiomv

ejercicio 1.1

Sep 30th, 2019
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.24 KB | None | 0 0
  1. #include <stdio.h>
  2.  
  3. int main() {
  4.     int e;
  5.     char n[50];
  6.     printf("Introduce tu nombre: ");
  7.     scanf("%s", &n);
  8.     printf("Introduce tu edad: ");
  9.     scanf("%d", &e);
  10.     printf("Buenos dias %s usted tiene %d años", n, e);
  11. }
Advertisement
Add Comment
Please, Sign In to add comment