answersLogoWhite

0


Best Answer

#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();

}

User Avatar

Wiki User

11y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Write a function to read a matrix of size mxn from keyboard?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Does the Kindle with the keyboard read out loud to you?

Yes the kindle with the keyboard can read out loud it has the "text to speach" function.


How is the getchar function used in a C program?

The getchar() is used in 'C' programming language because it can read the character from the Standard input(i.e..from the user keyboard),and converts in to the ASCII value.


How do you read a character from the keyboard and will store it in the variable?

Use the scanf() function from the C standard library.


How do you get your English perfect?

Read read read read. And then write write write write.


Who sells an ergonomic keyboard with easy to read keys?

Logitech sells a keyboard that is ergonomic. Their keys are also very easy to read.


How does one read data from a text file and create an adjacency matrix with the data in matlab?

You can read data from a text file in a few different ways, but generally you use the "textread" function. The syntax is: C = textread('file','format') where C will be your new text matrix, file is your text file within your matlab directory, and format will depend on the type of data it is (see related link for more). Can't help with the adjacency matrix, sorry.


Write a program that read phrase and print the number of lower-case letter in it using function of counting?

write a program that reads a phrase and prints the number of lowercase latters in it using a function for counting? in C program


What do keyboard operators do?

Keyboard operators us a keyboard to enter information into a computer system. So they sit, they read or listen to information, and the type on a keyboard.


Need of interface in microprocessor?

the principle function of memory interfacing is to enable the microprocessor to read or write into a register of the memory chip


Why does the keyboard only have capital letters?

So you can read it


What mammals are specis?

whats a specis? can u read or write? whats a specis? can u read or write? whats a specis? can u read or write? whats a specis? can u read or write? whats a specis? can u read or write?


What is the type of disk in Neo's book in the matrix movie?

I just found this out: It's a WORM disk. WORM stands for Write once, read many. It's old as hell and outdated, but it was the disk that was used in The Matrix. Although they do hold a lot of data, it behaves like a CD-ROM after being written to.