c++

C++ Program to Reverse the Elements of 2D Dimensional Array Full Project For Beginners


 

Welcome folks today in this blog post we will be finding all pairs of numbers whose sum is equal to a given number in c++ All the full source code of the application is shown below.

 

 

 

 

 

 

In order to get started you need to make a app.cpp file and copy paste the following code

 

 

app.cpp

 

 

 

#include<iostream.h>
#include<conio.h>

void main()
{
clrscr();
int a[i][j],i,j;
for(i=0;i<3;i++)
  {
  for(j=0;j<3;j++)
    {
    cout<<"Enter Number";
    cin>>a[i][j];
    }
  }

for(i=2;i>=0;i--)
  {
  for(j=2;j>=0;j--)
    { 
    cout<<a[i][j]<<"t";
    }
  cout<<endl;
  }
getch();
}

 

Similar Posts:

    None Found

Leave a Reply

Your email address will not be published. Required fields are marked *