TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Orhan SALUR
NA
49
23.6k
doesnt work
Dec 27 2012 9:12 AM
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace project1
{
class Program
{
static void Main()
{
int x, y;
Console.WriteLine("x=");
x = Convert.ToInt32(Console.ReadKey());
Console.WriteLine("y=");
y = Convert.ToInt32(Console.ReadKey());
for (int i = 0; i < 11; i++)
{
for (int j = 0; j < 11; j++)
{
if (i == 0 || j == 0 || i == 10 || j == 10)
{
Console.Write("*");
}
else if (x < 11 || y < 11)
{
Console.Write("*");
x++;
y++;
}
else
Console.Write(" ");
}
Console.WriteLine();
}
Console.ReadKey();
}
}
}
Reply
Answers (
1
)
how to add date part query in design page code
importing a pdf file in C# project