c编程剪刀石头(编程实现石头剪刀布)

c编程剪刀石头(编程实现石头剪刀布)

用123来表示剪刀石头布,然后先用scanf函数读取用户的输入,再用rand函数产生一个随机数,最后进行比较就可以了include include include void main int com,userchar csrandunsignedtimenull初。includeltstdioh...
  • 1
  • 共 1 页