Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Code must in C++ Write a 'C++ program and consider the following two 2D arrays named as CellName Data and CellExpData as given below. The

image text in transcribed

Code must in C++

Write a 'C++ program and consider the following two 2D arrays named as CellName Data and CellExpData as given below. The CellName Data array with 4x2 dimension, contains the cell no. and cell names, whereas CellExpData array with 5x6 dimension, contains the 4 types of gene expression values against each cell names. The first row in both array and the first column in CellExpData array are just row and column heads. Out of the 5 different columns in CellExpData array, select only those columns that match with the cell names given in CellName Data array. Store these data into new 2D array named as MergeData. After getting selected columns, expected data in MergeData array are shown below: [Hint: You can assume numeric values to represent each row and column names. No points will be given on hard-coding except declaration and initialization statements] (10 Marks] CellNameData CellNo. CellName 0.1 LiverCell 0.2 KidneyCell 0.3 LungCell Gnames Gene1 Gene2 Gene3 Gene4 LungCell 2.3 1.5 4.1 9.9 CellExpData SkinCell IntestineCell 1.7 4.3 3.6 8.1 6.6 5.3 2.7 6.2 LiverCell 3.4 5.5 3.9 5.8 KidneyCell 4.5 2.9 8.1 3.3 2 3 Gene1 Gene2 Gene3 Gene4 MergeData LiverCell 3.4 5.5 3.9 5.8 KidneyCell 4.5 2.9 8.1 3.3 LungCell 2.3 1.5 4.1 9.9

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Principles Programming And Performance

Authors: Patrick O'Neil

1st Edition

1558603921, 978-1558603929

More Books

Students also viewed these Databases questions

Question

6. Have you used solid reasoning in your argument?

Answered: 1 week ago