was able to come halfway through my project I need help for the other half 2-) You Can Find Detail What You Need To Do In Part 2 Of The Image File I Sent You The code I wrote is as follows: #include #include #include using namespace std; int main() { srand(time(0)); int x,y,a[10]; int arr[100][100]; cout<<"Tombala cards are preparing \n";
1-) I was able to come halfway through my project I need help for the other half
2-) You Can Find Detail What You Need To Do In Part 2 Of The Image File I Sent You
The code I wrote is as follows:
#include<iostream>
#include<stdlib.h>
#include<time.h>
using namespace std;
int main()
{
srand(time(0));
int x,y,a[10];
int arr[100][100];
cout<<"Tombala cards are preparing \n";
for(int i = 0; i < 10; ++i){
cout<<"\n";
cout<<"Kart No"<<i<<": ";
for(int j = 0; j < 15; ++j){
arr[i][j]=(rand() %90 ) + 1;
cout<<arr[i][j]<<'\t';
}
}
cout<<"\n\nNumber of player: ";
cin>>x;
cout<<"\nSelected card number for the players: \n";
for(int i=0;i<x;i++){
cin>>a[i];
}
for(int i=0;i<x;i++){
cout<<"\n";
cout<<i<<". player's tombala card: ";
int g=a[i];
for(int j=0;j<15;j++){
cout<<arr[g][j]<<" ";
}
}
}
![](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2F03539562-bb36-4f0e-bbed-2652745b3ccb%2F1e7d8b0b-aba6-4a4c-b599-ee122fffcb74%2F6kgbvt.bmp&w=3840&q=75)
![](/static/compass_v2/shared-icons/check-mark.png)
Step by step
Solved in 2 steps
![Blurred answer](/static/compass_v2/solution-images/blurred-answer.jpg)
![Computer Networking: A Top-Down Approach (7th Edi…](https://www.bartleby.com/isbn_cover_images/9780133594140/9780133594140_smallCoverImage.gif)
![Computer Organization and Design MIPS Edition, Fi…](https://www.bartleby.com/isbn_cover_images/9780124077263/9780124077263_smallCoverImage.gif)
![Network+ Guide to Networks (MindTap Course List)](https://www.bartleby.com/isbn_cover_images/9781337569330/9781337569330_smallCoverImage.gif)
![Computer Networking: A Top-Down Approach (7th Edi…](https://www.bartleby.com/isbn_cover_images/9780133594140/9780133594140_smallCoverImage.gif)
![Computer Organization and Design MIPS Edition, Fi…](https://www.bartleby.com/isbn_cover_images/9780124077263/9780124077263_smallCoverImage.gif)
![Network+ Guide to Networks (MindTap Course List)](https://www.bartleby.com/isbn_cover_images/9781337569330/9781337569330_smallCoverImage.gif)
![Concepts of Database Management](https://www.bartleby.com/isbn_cover_images/9781337093422/9781337093422_smallCoverImage.gif)
![Prelude to Programming](https://www.bartleby.com/isbn_cover_images/9780133750423/9780133750423_smallCoverImage.jpg)
![Sc Business Data Communications and Networking, T…](https://www.bartleby.com/isbn_cover_images/9781119368830/9781119368830_smallCoverImage.gif)