using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Array_2
{
class Program
{
static void Main()
{
int i;
int[] c=new int[11];
int[] b=new int[11];
int[] a=new int[11];
for ( i = 0; i <= 10; i++)
//Console.WriteLine("Enter a Matrix1");
a[i] = Console.Read();
for ( i = 0; i <= 10; i++)
//Console.WriteLine("Enter a Matrix2");
b[i] = Console.Read();
for (i = 0; i <= 10; i++)
c[i] = a[i] + b[i];
Console.WriteLine("The Addtion of Two Matrix is = {0}", c[i]);
Console.Read();
}
}
}
hussaindot_com 0 Newbie Poster
Nick Evan 4,005 Industrious Poster Team Colleague Featured Poster
DanielGreen 6 Light Poster
Geekitygeek 480 Nearly a Posting Virtuoso
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.