This commit is contained in:
2024-03-26 11:15:25 +03:00
parent 4ecfebcd1b
commit 04d946e28c
38 changed files with 91 additions and 0 deletions

View File

@ -0,0 +1,17 @@
#include <stdio.h>
int main(void) {
float constant = 2;
float counter = 2;
float data = 1;
float check = 1;
while(constant <= 40) {;
data = constant * data;
check = 1/data;
counter = check + counter;
printf("%s %f\n","counter :", counter);
constant++;
}
return 0;
}