0$房天下问答|一道C++题$https://m.fang.com/ask/ask_1379910.html$https://static.soufunimg.com/common_m/m_public/201511/images/asksharedefault.png
packc/pages/ask/detail/detail?askid=1379910
共1个回答
-
-
-
sunmooner
丨Lv 3
#include <iostream>using namespace std;int main(int argc, char *argv[]){ int var[5][5]; for(int i = 0; i < 5; ++i){ for(int j = 0; j < 5; ++j){ cin >> var[i][j]; }/*------end of for------*/ }/*------end of for------*/ for(int i = 0; i < 5; ++i){ for(int j = 0; j < 5; ++j){ cout << var[i][j] << " "; }/*------end of for------*/ cout << endl; }/*------end of for------*/ } /*------end of main------*
免责声明:问答内容均来源于互联网用户,房天下对其内容不负责任,如有版权或其他问题可以联系房天下进行删除。

关注成功