Q
codeup 1050


C code
if - else if
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
| #include <stdio.h>
int main(void) { int a,b,c;
scanf("%d %d",&a, &b); if(a==b) printf("1"); else if(a != b) printf("0"); return 0; }
|
if - else
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
| #include <stdio.h>
int main(void) { int a,b,c; scanf("%d %d",&a, &b); if(a==b) printf("1"); else printf("0"); return 0; }
|
Author:
Slay
Permalink:
http://sean-baek.github.io/2023/04/28/codeup-1050/
License:
Copyright (c) 2021 CC-BY-NC-4.0 LICENSE
Slogan:
Do you believe in DESTINY?