1 2 3 4

C语言If分支

#include <stdio.h>

#include <stdlib.h>

 

int main()

{

 

  int x=12;

  if(x>10){

    printf("x的值大于10 \n");                      

  }else if(x<10){

    printf("x的值小于10\n");        

}

  system("pause");

  return 0;

}

posted on 2020-12-09 13:12  三日坊主i  阅读(120)  评论(0)    收藏  举报

导航