Changes to be committed:

new file:   proglabs/lab7-8/10.c
	new file:   proglabs/lab7-8/11.c
	new file:   proglabs/lab7-8/12.c
	new file:   proglabs/lab7-8/13.c
	new file:   proglabs/lab7-8/14.c
	new file:   proglabs/lab7-8/15.c
	new file:   proglabs/lab7-8/16.c
	new file:   proglabs/lab7-8/17.c
	new file:   proglabs/lab7-8/18.c
	new file:   proglabs/lab7-8/19.c
	new file:   proglabs/lab7-8/3
	new file:   proglabs/lab7-8/5.c
	new file:   proglabs/lab7-8/6
	new file:   proglabs/lab7-8/6.c
	new file:   proglabs/lab7-8/7.c
	new file:   proglabs/lab7-8/8.c
	new file:   proglabs/lab7-8/9
	new file:   proglabs/lab7-8/9.c
	new file:   proglabs/lab7-8/test
	new file:   proglabs/lab7-8/tmp.out
This commit is contained in:
2025-11-13 00:08:24 +07:00
parent 4ad1856c53
commit 2ed5553b96
20 changed files with 491 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
#include <stdio.h>
double larger_of(double a, double b);
int main() {
double a,b,c;
printf("Print: num1 num2\nPrint: ");
scanf(" %lf %lf",&a,&b);
c = larger_of(a,b);
a = c;
b = c;
printf("Larger value is: %lf",a);
return 0;
}
double larger_of(double a, double b){
return ((a>b)?a:b);
}