Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6051567
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T07:49:59+00:00 2026-05-23T07:49:59+00:00

I am making a two dimensional array (soccer matrix)I have already made my arrays,

  • 0

I am making a two dimensional array (soccer matrix)I have already made my arrays, datacolumn and rows.

How do i make my matrix like this below?
and get the right input everywhere

2010-2011     England   Germany   Holland   Spain   Germany   Russia   Japan

England         x

Germany                    x

Holland                             x

Spain                                         x

Germany                                               x

Russia                                                          x

Japan                                                                    x

This all will be made into a console application.

Best regards,

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T07:50:00+00:00Added an answer on May 23, 2026 at 7:50 am
    int rows = 8;
    int colums = 8;
    String[,] data = new String[colums, rows];
    int x = 0;
    int y = 0;
    
    for(; y < rows; y++)
    {
        for (; x < colums; x++)
        {
            Console.Write(data[x, y] + " ");
            if (x == (colums - 1))
            {
                Console.WriteLine("");
                Console.WriteLine("");
            }
        }
        x = 0;
    }
    
    int userSelectedHomeTeam
    int userSelectedAwayTeaM
    
    Console.WriteLine("Select home team by the number")
    for(int i = 1; i < colums; i++)
    {   
        Console.WriteLine(data[i, 0] + " " + i)
    }
    str = Console.ReadLine(); 
    userSelectedHomeTeam = Int32.Parse(str);
    
    Console.WriteLine("Select away team by the number")
    for(int i = 1; i < colums; i++)
    {   
        Console.WriteLine(data[i, 0] + " " + i)
    }
    str = Console.ReadLine(); 
    userSelectedAwayTeam = Int32.Parse(str);
    
    Console.WriteLine("Write user input")
    str = Console.ReadLine(); 
    data[userSelectedHomeTeam , userSelectedAwayTeam ] = str;
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a two dimensional grid of cells. In this simulation, cells may request
I'm making a shopping list mobile application (Java ME) and i have two classes;
I'm practicing PyQt and (Q)threads by making a simple Twitter client. I have two
I have two arrays for a chess variant I am coding in java...I have
Given a two-dimensional list, I would like to find everything that contains a sublist.
I have two numpy arrays of different shapes, but with the same length (leading
I am making a 2d space game with many moving objects. I have already
Constructor Conundrum, I have these two constructors. One is for making a copy of
I have two kinds of parameters in a specific Crystal Report I am making
I'm making a site in two language ,I want to give a jquery Modal

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.