CLASE 1 C EN ZINJAI
//declaracion de librerias
#include <stdio.h>
#include <conio.h>
#include <stdlib.h>
//declaracion de variables
int x,a,b;
float y;
char z;
//INICIO DE LA FUNCION PRINCIPAL
int main(){
x=100;
y=5.1;
z='R';
printf("HOLA BIENVENIDOS A PROGRA \n");
// SALTO DE LINEA: \n
printf("Esto es int: %d \n",x);
printf("Esto es float: %f \n",y);
printf("Esto es char: %c \n",z);
}
#include <stdio.h>
#include <conio.h>
#include <stdlib.h>
//declaracion de variables
int x,a,b;
float y;
char z;
//INICIO DE LA FUNCION PRINCIPAL
int main(){
x=100;
y=5.1;
z='R';
printf("HOLA BIENVENIDOS A PROGRA \n");
// SALTO DE LINEA: \n
printf("Esto es int: %d \n",x);
printf("Esto es float: %f \n",y);
printf("Esto es char: %c \n",z);
}
Comentarios
Publicar un comentario