Pages

Thursday, 25 January 2018

For Loop in C Programming Language

#include <stdio.h>

int main()
 {
  int array[] = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 };
  int factorial = 1;
  int i;
  printf("10! is %d.\n", factorial);

}