A voir également:
- Probleme d'execution
- Erreur d'execution 1004 - Forum Programmation
- Un administrateur vous a refusé l'execution de cette application - Forum Windows 10
- VBA erreur 1004 ✓ - Forum VB / VBA
- Microsoft a bloqué l'exécution des macros car la source de ce fichier n'est pas approuvée ✓ - Forum Excel
- Erreur d'execution 13 vba ✓ - Forum Programmation
19 nov. 2010 à 21:22
#include <stdlib.h> // pour utiliser system("pause");
#include <math.h>
main ()
{
float a=1.0, b=2.0, c=-15.0;
float delta, d, x1, x2;
delta = b*b-4*a*c;
if (delta>=0)
{
d = sqrt(delta);
x1 = -(b+d)/(2*a);
x2 = -(b-d)/(2*a);
}
printf("X1 = %f \n",x1);
printf("X2 = %f \n",x2);
system("pause"); // pour mettre en pause le programme
}