C语言计算立方

// --------------------------------------// --------------------------------------#include stdio.h

编程学习网为您整理以下代码实例,主要实现:C语言计算立方,希望可以帮到各位朋友。

// --------------------------------------
// --------------------------------------
#include <stdio.h>

int main() {
   int n = 5;

   printf("Cube of %d = %d", n, (n*n*n));

   return 0;
}

本文标题为:C语言计算立方