martes, 17 de junio de 2014

PROGRAMACION EN C++

PROGRAMAS EN C++:

https://mx.answers.yahoo.com/question/index?

https://www.youtube.com/watch?v=ofemmXa_M5o

Un ejemplo de programacion:

PROGRAMA DE UN TAXIMETRO:
#include<stdio.h>
#include<conio.h>
main()
{float x,precio;
printf("Ingrese el kilometraje a recorrer:\n\n");
scanf("%f",&x);
precio=((0.60*x)+0.35);
printf("el precio es:%f",precio);
getch();
}

1 comentario: