Создайте программу, которая отображает нечетные числа от 1 до 10 в обратном порядке C#.У меня в обратном порядке не получаетсяя

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ConsoleApplication4
{
class Program
{
static void Main(string[] args)
{
int y = 9;
for (int i = 1; i <= y; i+=2)
Console.Write("{0} ", i);
}
}
}​
Please enter comments
Please enter your name.
Please enter the correct email address.
You must agree before submitting.

Answers & Comments


Copyright © 2025 SCHOLAR.TIPS - All rights reserved.