Talkback. c, talkback
My question is "Quality and weight ". I used to forget about physical mathematics.
So I came to handle it as I said this:
In general, the weight is called quality in quality, expressed in m, the volume is expressed in V, and the density is expressed in P
When the volume and density are known, the following formula can be used for calculation.
M = P V
That is, mass = density X volume
Here, I can understand the computation in the book!
Take another look:
Weight = Volume * density * g (g indicates that the gravity acceleration is not gram, generally 9.8)
Mass = Volume * density
I just want to say that what I learned in the past is still classic. Unfortunately, if I didn't learn c, I would not pick it up!
C ++ Code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 |
|
# Include <stdio. h> # Include <string. h> # Include <windows. h> # Define DENSITY 62.4
// Density -- density // Volume-volume and capacity // Letters -- Letter (number) // Cubic feet -- cube Int main (void) { Float weight, volume; Int size, letters; Char name [40];
Printf ("Hi! What's your first name? \ N "); Scanf ("% s", name ); Printf ("% s, what's your weight in pounds? \ N ", name ); Scanf ("% f", & weight );
Size = sizeof name; Letters = strlen (name ); Volume = weight/DENSITY; // the core issue is that you do not know the formula!
Printf ("Well, % s, your volume is % 2.2f cubic feet. \ n", name, volume ); Printf ("Also, your first name has % d letters,", letters ); Printf ("and we have % d bytes to store it in. \ n", size );
// Sleep (1000*10); // are there other similar functions? Return 0; }
|
What are soundback, kickback, and talkback?
Echo
Kickback
Walkie Talkie
How to Use talkback?
If you want to install the voice library, install iflytek voice, and then text it to the voice tts to set iflytek as the default voice, and then set talkback for sound.
I will not install or cannot find the iflytek voice library. I will provide it to you.