Skip to content

Instantly share code, notes, and snippets.

@kjunichi
Created November 22, 2023 01:47
Show Gist options
  • Save kjunichi/407dbcd92a398966615432736ca8efdc to your computer and use it in GitHub Desktop.
Save kjunichi/407dbcd92a398966615432736ca8efdc to your computer and use it in GitHub Desktop.
#include <stdio.h>
int main() {
int a = 0;
int b = 2;
int c = -3;
if(a) {
printf("変数aは真です。\n"); // 処理
}
if(b) {
printf("変数bは真です。\n"); // 処理
}
if(c) {
printf("変数cは真です。\n"); // 処理
}
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment