Untitled


SUBMITTED BY: Guest

DATE: Jan. 10, 2015, 5:02 p.m.

FORMAT: Text only

SIZE: 245 Bytes

HITS: 2092

  1. #include <stdio.h>
  2. #include <stdlib.h>
  3. float cube(float a)
  4. {
  5. return(a*a*a);
  6. }
  7. int main(int argc, char *argv[]) {
  8. float a = 3;
  9. float res = cube(a);
  10. printf("\nLe resultat est %.0f",res);
  11. return 0;
  12. }

comments powered by Disqus