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 |
what is the advantage in software? what is the difference between the software developer and Engineer
Can anyone please explain runtime polymorphism with a real time example??at what ciscumstances we go for it??
Can an interface inherit a class?
what is graphics
What is abstraction in oops?
what is data hiding.
Can destructor be overloaded?
Definition of Object Oriented Programming in single line?
33 Answers Impact Systems, Q3 Technologies, TCS,
The company is a fake company asking for money of RS10000 while training and not offering a job after training. My humble request to you people not to attend Astersys interview
What is oops and why we use oops?
what is the sylabus for priliminaries?
C#.net Interview Question A=10 B=5 C=A+B Print C The above will be given in a multiline textbox. You need to parse the above input, store values for A,B&c. And you have to display the value of C.