Advertisement
Guest User

Untitled

a guest
Oct 14th, 2019
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.51 KB | None | 0 0
  1. #include <stdlib.h>
  2. #include <stdio.h>
  3.  
  4. int main()
  5. {
  6. char caracter = 'a';
  7. int entero = 10;
  8. float flotante = 1.5f;
  9. char cadena[] = "Enrique";
  10. double flotanteDeDoblePrecision = 3.14159;
  11.  
  12.  
  13. printf("El caracter es %c\n", caracter);
  14. printf("El entero es %d\n", entero);
  15. printf("El decimal es %f\n", flotante);
  16. printf("La cadena es %s\n", cadena);
  17. printf("El flotante de doble precision es %lf\n", flotanteDeDoblePrecision);
  18.  
  19. getch();
  20.  
  21. return 0;
  22. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement