'''星号三角形 I描述读入一个整数N,N是奇数,输出由星号字符组成的等边三角形,要求:第1行1个星号,第2行3个星号,第3行5个星号,依次类推,最后一行共N的星号.输入示例1:3输出示例2: * ***题目来源https://python123.io/'''#<1># n = eval(input())n = int(input())for i in range(round((n+1)/2)): a = "*"*(2*(i+1)-1) print("{}&quo
) declare @cou int ) ' set @sql='select @count=count(*) from emp where id=@id' exec sp_executesql @sql, N'@count int out,@id varchar(20)', @cou out ,@id print @cou @cou接收 @count传出的值
SqlConnection cn = new SqlConnection("server=my\\my2005;database=rdwhdata2005;user id=zjh;password=321321"); List<string> lis = new List<string>(); void info(object o, SqlInfoMessageEventArgs ar) { for