Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- using namespace std;
- int main(void){
- // Your code here!
- int var[3][5]={
- {1,2,0,4,5},
- {5,4,3,0,1},
- {11,0,36,58,47}
- };
- for(int i= 0;i<3;i++){
- //std::cout << var[i][0] << std::endl;
- for(int j=0;j<5;j++){
- if(var[i][j] == 0){
- cout<< "en la linea " << i+1 << " esta el valor "<< var[i][j]<< endl;
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement