Aisd lab2 zadanie 4

#include <iostream> using namespace std; int main() { int tab1[3] = {1,2,3}; int tab2[3] = {1,2,3}; int suma = 0; for(int i = 0; i<3; i++){ for(int j = 0; j<3; j++){ cout<<tab1[i]*10 + tab2[j]<<endl; suma+=tab1[i]*10 + tab2[j]; } } cout<<suma<<endl; }

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.