printing one element if every element in the array are equal while printing the largest if all elements aren't equal

前端 未结 0 1089
死守一世寂寞
死守一世寂寞 2020-11-21 16:17

I wrote a code to output the largest value of a sequence if numbers given by the user. If the user only inputs equal values the same output will be repeated the number of in

相关标签:
回答
  • 消灭零回复
提交回复
热议问题