The calculation of sum nr.18

I started to learn about C/C++ and after some time I succeeded to create a program that is able to calculate a sum. This is the program and hope it will be useful at least for some of you.


void main ( )

float x,g,s;

scanf ("%f %f", &x, &g);
printf("%f %f", x,g);


printf("\n s=%f ", s);

I hope that this program will help many people on school. Creating a program is not so easy but when it is done, it is a great relief and also a reason to be proud. Learning C/C++ is not easy but is a good thing to learn because it can be used to practice a trade.