如题所述
求详解 加分
用c 还是c++?
c++
#include "iostream.h"int main(){ float a[3][3]={0}; float temp=a[0][0]; int i,j; cout>a[i][j]; if(temp<a[i][j]) temp=a[i][j]; } cout<<"最大值为"<<temp<<endl; return 0; }