file processing, C/C++ Programming

Assignment Help:
Write a C++ program doing the following:
The program reads from the keyboard the numbers of rows and columns of a 2-D array of
integers. Then, it allocates this array (let’s name it A) and it initializes its elements with random
numbers between -4 and +4, and prints the array row by row.
Then, the program transforms the array in the following way: for every element A[i][j] equal
to 0, it makes the entire row i and the entire column j equal to 0. Finally, the program prints the
resulting array row by row.
Your must write three functions and use them in your program:
• a function that initializes randomly your 2-D array with integers between A and B;
• a function that prints your array;
• a function that performs the transformation described above

Related Discussions:- file processing

Loop, wap to count the numof string present in a word

wap to count the numof string present in a word

Writing a c++ program, how can I write a c++ program that generate all evn ...

how can I write a c++ program that generate all evn numbers less than 1000?

Quick sort , Hi, I need quick sort program without using recursion

Hi, I need quick sort program without using recursion

Opp, what is oops

what is oops

Boardcoloring, In this problem you are given a board in which some of the e...

In this problem you are given a board in which some of the elements are placed as shown in diagram below. Each element represents a color. Fill the other elements in the board, suc

How the compiler arranges the several sections , Q: How the compiler arrang...

Q: How the compiler arranges the several sections in the executable image? A: The executable contained following sections: 1.      Data Section (initialized data variable sec

Metric number, how are metric numer change the number of metric

how are metric numer change the number of metric

C++ code, write c++ programm calculate electricity bill with person name,us...

write c++ programm calculate electricity bill with person name,use ,id

Recursion, #questiowrite a program to calculate e^x

#questiowrite a program to calculate e^x

What if one forget the [] when deleteing array allocated , What if one forg...

What if one forget the [] when deleteing array allocated through new T[n]? A: All life comes to a disastrous end. It is the programmer's responsibility not the compiler's to

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd