C# 跳跃算法(

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

namespace ConsoleApplication10
{
class Program
{
static void Main(string[] args)
{
for (int i = 1; i < 11; i++)
{
if (i % 2 == 1)
Console.WriteLine( i );
}
}
}
}

posted @ 2021-08-19 23:55  ooi  阅读(175)  评论(0)    收藏  举报