Home > Back-end >  Online C language programming questions
Online C language programming questions

Time:09-22


CodePudding user response:

Use a for loop, the end condition is given in the title

CodePudding user response:

The while loop is used to better don't know how specific
Define the s=0, flog=1; X=3; Y=2;
The loop body
S +=(x * flog)/(y * y);
Flog=- flog;
X +=2;
Y +=2;
This topic is not difficult, mainly to find the rule of the law, is a basic formula, and then change the variable's value
  • Related