Cpp Programming
Guest
Main proceedings concerning disaster Smolensk. This event triggered a discussion about the military prosecutor's office. In the background of the matter is a dispute as to the scope of reach by investigators after the billing and text messages, including of journalists.
int i,j,ile; int tab[10], tab1[10]; ile=0; srand(time(NULL)); for (i=0;i<10;i++) { tab[i]=rand()%10; tab1[i]=rand()%10; cout << "tab[" << i <<"] = " << tab[i] << " "<< "tab1[" << i <<"] = " << tab1[i] << endl; ile=ile+tab[i]*tab1[i]; } cout << "Iloczyn skalarny jest rowny " << ile << endl; system("PAUSE"); return EXIT_SUCCESS;