Negative days completion.

This commit is contained in:
2025-05-11 00:44:19 +09:00
parent 1158462054
commit f12d0bbc49
42 changed files with 377 additions and 79 deletions
+10
View File
@@ -0,0 +1,10 @@
{
"language": "C",
"name": "演習課題 1 List 3-6",
"description": "2つの整数値の等価検証プログラム",
"output": {
"type": "screenshot",
"content": "./assets/lst36.png"
},
"note": ""
}
BIN
View File
Binary file not shown.
+18
View File
@@ -0,0 +1,18 @@
#include <stdio.h>
int main(void) {
int n1, n2;
printf("Integer 1: ");
scanf("%d", &n1);
printf("Integer 2: ");
scanf("%d", &n2);
if (n1 == n2)
puts("Both values are equivalent to each other.");
else
puts("Both values are not equivalent to each other.");
return 0;
}