Facebook
From Marek s., 7 Years ago, written in Plain Text.
Embed
Download Paste or View Raw
Hits: 291
  1. // 1231111.cpp : Defines the entry point for the console application.
  2. //
  3.  
  4. #include "stdafx.h"
  5.  
  6. int silnia (int x)
  7. {
  8.  
  9. }
  10.  
  11. int _tmain(int argc, _TCHAR* argv[])
  12. {
  13.         int tab[100];
  14.         for(int i=0;i<=n;i++)
  15.                 tab[i]=silnia(i);
  16.                
  17.  
  18.         return 0;
  19. }
  20.  
  21.  
  22. int tab[100];
  23. tab[0]=1;
  24. for(int i=1;i<=n;i++)
  25.         tab[i]=tab[i-1]*i;