create a c++ program that will accepts 9 inputs using 3 by 3
array.
Answer / s.verma
#include<iostream>
#include<conio.h>
using namespace std;
int main()
{
int matrix[3][3];
cout<<"Enter a 3x3 matrix row-wise :: \n"
for(int i=0; i<3; i++)
{
for(int j=0; j<3; j++)
cin>>matrix[i][j];
}
cout<<"\nYou eneterd :: \n"
for(int i=0; i<3; i++)
{
for(int j=0; j<3; j++)
{
cout<<matrix[i][j]<<" ";
}
cout<<"\n";
}
getch();
return 0;
}
| Is This Answer Correct ? | 1 Yes | 0 No |
Who invented oop?
Which language is pure oop?
Why is oop useful?
IS IT NECESSARY TO INITIALIZE VARIABLE? WHAT IF THE INSTANCE VARIABLE IS DECLARED final ? IS IT NECESSARY TO INITIALIZE THE final VARIABLE AT THE TIME OF THEIR DECLARATION?
Finding of the 4 larger (bigger) numbers from the list like{1245,4587,2145,1163,29987,65783.....}
what is the difference between function template and template of function?explain with example.
What is difference between new and malloc?
What is Hashing and how is it done? Pictorial form?
What is and I oop mean?
c++ is a purely oop concept?
WAP to generate 2n+1 lines of the following pattern on the computer screen:
Definition of Object Oriented Programming in single line?
33 Answers Impact Systems, Q3 Technologies, TCS,