Need a unique gift idea?
A Pastebin account makes a great Christmas gift
SHARE
TWEET

Untitled

a guest Aug 10th, 2018 68 Never
Upgrade to PRO!
ENDING IN00days00hours00mins00secs
 
  1. const int N = 3;
  2. int calc(int matrica[N][N]){
  3.     int rezultat = 1;
  4.     for(int i=0;i<N;i++){
  5.         for(int j=0;j<N;j++){
  6.             if(matrica[i][j]!=0) rezultat = rezultat * matrica[i][j];
  7.         }
  8.     }
  9.     return rezultat;
  10. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top