Option Explicit On
创新互联从2013年成立,是专业互联网技术服务公司,拥有项目成都网站设计、成都做网站、外贸网站建设网站策划,项目实施与项目整合能力。我们以让每一个梦想脱颖而出为使命,1280元东明做网站,已为上家服务,为东明各地企业和个人服务,联系电话:18980820575
Option Strict On
Imports System
Module Program
Sub Main()
Dim y,m,t As Integer
begin:
' 输入数据时一行一个
y=CInt(Console.ReadLine())
m=CInt(Console.ReadLine())
t=CInt(Console.ReadLine())
If y
200 Then
Console.WriteLine("ERROR")
goto begin
End If
pr(y,m,t)
Console.Write("Press any key to continue . . . ")
Console.ReadKey(True)
End Sub
Function pr(y As Integer,m As Integer,t As Integer) As Integer
Dim ye,[Me],i As Integer
ye=CInt((m+t-2)/12+y)
[Me]=(m+t-2) Mod 12+1
End If
End Function
Function mday(y As Integer,m As Integer) As Integer
Dim day As Integer()={0,31,28,31,30,31,30,31,31,30,31,30,31}
Dim ad As I
dim wolf as integer,sheep as integer,cai as integer
for wolf=0 to 1
if wolf=1 then print "wolf":i=i+1
if i=2 then print:i=0
for sheep=0 to 1
if wolf=1 then sheep=0
if sheep=1 then print "sheep":i=i+1
if i=2 then print:i=0
for cai=0 to 1
if sheep=1 then cai=0
if cai=1 then print "cai":i=i+1
if i=2 then print:i=0
next cai
next sheep
next wolf
晕,我下过这么个软件,就是从C#转换成VB.NET
不过
我找到了一个网址
打开就可以了
在线翻译