How Do I check If a variable is in an array I made

后端 未结 0 1996
暖寄归人
暖寄归人 2020-11-27 03:45

I am trying to check if my inputted variable is in an array.

#include 

int main() {

int Year;
int Elem_School [5] =  {1, 2, 3, 4, 5};
int Mi         


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