Tilbage til slide -- Tastaturgenvej: 'u'        næste -- Tastaturgenvej: 'n'          array-motivation.c - Motivation for arrays - et stort antal simple variable.Lektion 6 - slide 2 : 26
Program 1

#include <stdio.h>

int main(void) {

  double table0, table1, table2, table3, table4, 
         table5, table6, table7, table8, table9, table10;

  table0 = 0.0;
  table1 = 2 * 1.0;
  table2 = 2 * 2.0;
  table3 = 2 * 3.0;
  table4 = 2 * 4.0;
  table5 = 2 * 5.0;
  table6 = 2 * 6.0;
  table7 = 2 * 7.0;
  table8 = 2 * 8.0;
  table9 = 2 * 9.0;
  table10 = 2 * 10.0;

  printf("%f, %f, %f, %f, %f, %f, %f, %f, %f, %f, %f\n",
         table0, table1, table2, table3, table4,
	 table5, table6, table7, table8, table9, table10);

  return 0;
}