با سلام در این تاپیک ، کد چاپ کردن یک مثلث در سی شارپ رو براتون آماده کردم.
//chape mothalath dar csharp
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace prymid
{
class Program
{
static void Main(string[] args)
{
int i, j, r;
int v = 1;
Console.WriteLine("Enter no of Rows");
r = Int16.Parse(Console.ReadLine());
Console.WriteLine(r);
for (i = 1; i <= r; i++)
{
for (j = r; j >= i - 1; j--)
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace prymid
{
class Program
{
static void Main(string[] args)
{
int i, j, r;
int v = 1;
Console.WriteLine("Enter no of Rows");
r = Int16.Parse(Console.ReadLine());
Console.WriteLine(r);
for (i = 1; i <= r; i++)
{
for (j = r; j >= i - 1; j--)