Universidad Autónoma Metropolitana Unidad Azcapotzalco Departamento de Sistemas “INTRODUCCIÓN A LA PROGRAMACIÓN” Profesor:Jesús Isidro González Trejo Programa “Caracter”
Ing. Arturo Díaz Vargas Departamento de Sistemas División de Ciencias Básicas e Ingeniería UNIVERSIDAD AUTONOMA METROPOLITANA
#include int main(int argc, char *argv[]) { char A; system("PAUSE"); return 0; }
#include int main(int argc, char *argv[]) { char A; printf("\nDame una Letra o Caracter:\n\n"); system("PAUSE"); return 0; }
#include int main(int argc, char *argv[]) { char A; printf("\nDame una Letra o Caracter:\n\n"); scanf("%c",&A); system("PAUSE"); return 0; }
#include int main(int argc, char *argv[]) { char A; printf("\nDame una Letra o Caracter:\n\n"); scanf("%c",&A); printf("\nSe imprimira la letra o caracter como:\n"); system("PAUSE"); return 0; }
#include int main(int argc, char *argv[]) { char A; printf("\nDame una Letra o Caracter:\n\n"); scanf("%c",&A); printf("\nSe imprimira la letra o caracter como:\n"); printf("\nCaracter=%c\n",A); system("PAUSE"); return 0; }