1到50随机抽号用的app(有没有一款软件可以随机抽出一个号码的 范围可以设定 是用来班级里抽学号提问的)

本文目录
有没有一款软件可以随机抽出一个号码的 范围可以设定 是用来班级里抽学号提问的
可以试一下这款,是由我自己开发的,Win8界面风格,六种抽取模式,并且设置丰富多样,欢迎使用并提出反馈意见,谢谢!
谁帮我做一个随机抽号的软件1到45号 谢了 高悬赏
《!DOCTYPE html》
《html lang=“en“》
《head》
《meta charset=“UTF-8“》
《title》《/title》
《script》
function demo() {
var num = parseInt(Math.random() * 45 + 1);
document.getElementById(“sid“).innerHTML=num;
}
《/script》
《/head》
《body》
《button onclick=“demo()“》随机数字《/button》
《br/》
《table》
《tr》
《td id=“sid“ style=“width: 100%;height: 100%;font-size: 30px;color: red“》看我状态《/td》
《/tr》
《/table》
《/body》
《/html》
把上面的代码复制到文本中保存为html格式,然后打开看就行了!
不行的话qq给我,发给你文件
怎么制作随机抽号软件,把每一步告诉我
你学哪样语言的?用的什么编译工具?
我只会Vs的给你贴一个:C#语言写的winfrom 效果如下
后台代码如下
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.Threading; //引入命名空间
namespace Rand
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void button1_Click(object sender, EventArgs e)
{
if (button1.Text == “开始“)
{
button1.Text = “停止“;
timer1.Start();//控制计时器启动
}
else
{
button1.Text = “开始“;
timer1.Stop();//控制计时器结束
}
}
private void timer1_Tick(object sender, EventArgs e)
{
Random rd = new Random();//获取随机数
label1.Text = rd.Next(0,100).ToString(); 将0到100内的随机数呈现到界面上
}
}
}
控件:Lable: 一个 用于显示结果
Button: 用于控制
Timer:计时器
随机抽号报号软件
我以前就是老师,我们有投影仪。 我自己做了一个(用VB程序设计语言),当然我做的不是用号,而是把每个人的名字都输入进去。这人我觉得更情切吧…… 但我不知道你是不是在电脑上用。 但我的不能语音…… 能给个具体的条件吗?我的QQ邮箱:471206936@QQ.com

更多文章:
易语言网页api接口怎么调用(易语言,怎么读取网页json的api)
2026年10月11日 08:00
majority of(the majority of 和 a majority of的区别以及用法例句)
2026年10月11日 07:40
another time(another time和other time的区别)
2026年10月11日 05:00








