Q:

C Program to find cube of an integer number using pow method

0

C Program to find cube of an integer number using pow method

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

#include <stdio.h>
#include <math.h>

int  main()
{

    int a,cube;
    
    printf("Enter any integer number: ");
    scanf("%d",&a);
   
    cube = pow(a,3);
    printf("CUBE is: %d\n",cube);
    
    return 0;
}

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

Similar questions


need a help?


find thousands of online teachers now