Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- using namespace std;
- int main(){
- int m,n;
- float macierz[2][2];
- for(int i=0;i<2;i++){
- for(int j=0;j<2;j++)
- cin>>macierz[i][j];
- }
- cout<<endl;
- for(int i=0;i<2;i++){
- for(int j=0;j<2;j++)
- cout<<macierz[i][j];
- cout<<"\n";
- }
- cout<<endl;
- for(int i=0;i<2;i++){
- for(int j=0;j<2;j++)
- cout<<macierz[j][i];
- cout<<"\n";
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement