Find us On Facebook

Thursday, April 7, 2011

Write a function to read a matrix of size m x n from the keyoard.

#define row 50
#define col 50
#include <iostream.h>
#include <conio.h>
void main()
{
void data_entry_matrix(int,int);
clrscr();
cout<<"\n\n\tEnter Number of rows you want to enter:-";
int rows;
cin>>rows;

cout<<"\n\n\tEnter Number of Column You want to enter:-";
int cols;
cin>>cols;

data_entry_matrix(rows,cols);

getch();
}


0 comments:

Post a Comment

Programms

C,C++,VB, PL/SQL EBOOK SEARCH ENGINE