Q:

C Program to find cube of an integer number

0

C Program to find cube of an integer number

All Answers

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

#include <stdio.h>

int  main()
{

    int a,cube;
    
    printf("Enter any integer number: ");
    scanf("%d",&a);
   
    cube = (a*a*a);
    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