typeface
large
in
Small
Turn off the lights
Previous bookshelf directory Bookmark Next

Chapter 29 Only girls understand girls

Ye Ming is multitasking.

While he was writing the code, he was talking to Etta in his mind, explaining to "her" the function of each command.

Of course, he knew it, but Ita couldn't understand it.

But just because you don’t understand it doesn’t mean you can’t remember it!

As long as she keeps instilling it, when "her" knowledge system reaches a certain level, and then associates and extends it, it may have miraculous effects.

The intelligent assistance produced by the system will not be able to defeat even those AIs that run convolution and Bayesian algorithms.

#include

#include

void main

{

int a,b,c,d;//Integer declaration a,b,c,d——what you said is OK...

float x1,x2;//Single precision floating point declaration x1,x——but it doesn’t contain more than a few words, so just skip it.

scanf(“%d %d %d %d”,&a,

if(a==0) printf(“x=%.2f“,(float)(d-c)/b);

else

{

float dr=b*b-4*a*c; c-=d;

if(dr>0)

{

x1=(-b-sqrt(dr))/(2*a);

x2=(-b sqrt(dr))/(2*a);

printf(“x1=%.2f x2=%.2f

",x1,x2);

}

if(dr==0)

{

x1=(-b sqrt(dr))/(2*a);

printf(“x=%.2f

",x1);

}

if(dr


This chapter has been completed!
Previous Bookshelf directory Bookmark Next