2023C++电子-0224016-马庆欢第二十八题#include <stdio.h>int main(){ float x =0;float y = 1.0; while ( y<=100000) { x =x+1.0/y; y++; } printf("%f\n", x); return 0;}