December 9th topic 2

From , 3 Years ago, written in C, viewed 50 times.
URL https://pastebin.vip/view/c8067ad1
  1. #include<stdio.h>
  2. int main() {
  3.   int a, x, y;
  4.   printf("请输入x的值:");
  5.   scanf("%d", &x);
  6.   if (x <= 0)
  7.     a = -1;
  8.   else
  9.     a = 1;
  10.   printf("y=%d", a);
  11.   return 0;
  12. }

Reply to "December 9th topic 2"

Here you can reply to the paste above

captcha

https://burned.cc - Burn After Reading Website