Finished first group of assignments

This commit is contained in:
2025-05-01 12:08:23 +09:00
parent 6a2eaa43d8
commit 0805e15bb9
27 changed files with 227 additions and 92 deletions

15
programs/prog1/main.c Normal file
View File

@@ -0,0 +1,15 @@
#include <stdio.h>
int main(void) {
int x;
int y;
printf("Integer x: ");
scanf("%d", &x);
printf("Integer y: ");
scanf("%d", &y);
printf("Value of x is %d%% of y.", x * 100 / y);
return 0;
}