Mundo Informático
Search This Blog
SUSCRIBE
CONTACTO
INICIO
Noticias
Bases De Datos
Programación C++
Tecnología
Investigaciones
Home
c++
devc++
programacion
Programa Simple en C++: Calcula el cubo de un numero
Programa Simple en C++: Calcula el cubo de un numero
Usiel Vela
17:31
#include <stdio.h>
#include <math.h>
#include <conio.h>
int main()
{
int y, expo;
printf("Escriba el numero que se le calculara la potencia de 3:\n");
scanf("%d", &y);
expo=pow(y,3);
printf("El resultado del exponente es: %d\n", expo);
getch();
}
0 Comentarios
Redes Sociales:
CHAT
DEJANOS TUS OPONIONES SOBRE NUESTRO SITIO
CREADOR DE CONTENIDO
Usiel Vela
Ver todo mi perfil
Seguidores
0 Comentarios