Guest User

Untitled

a guest
Jun 17th, 2018
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.39 KB | None | 0 0
  1. #include <stdio.h>
  2. #include <iostream> //Tätä tarvitaan (" ") system komentoa varten!
  3.  
  4.  
  5. int main (void){
  6.     int numerot[6] = {1,2,3,4,5,6};
  7.  
  8.     printf ("%d\n",numerot[0]);
  9.     printf ("%d\n",numerot[1]);
  10.     printf ("%d\n",numerot[2]);
  11.     printf ("%d\n",numerot[3]);
  12.     printf ("%d\n",numerot[4]);
  13.     printf ("%d\n",numerot[5]);
  14.    
  15.  
  16.  
  17.  
  18.     system("pause"); //pysäytttää suorituksen
  19.     return 0;
  20. }
Add Comment
Please, Sign In to add comment