Tp1 sm l1 1 Université A Mira-Béjaia Première Année SM- LMD TP N Faculté des Sciences Exactes Module Informatique II Vous pouvez utiliser CodeBlocks ou tout autre compilateur langage C disponible sur le net Soit le programme C suivant include include incl
Université A Mira-Béjaia Première Année SM- LMD TP N Faculté des Sciences Exactes Module Informatique II Vous pouvez utiliser CodeBlocks ou tout autre compilateur langage C disponible sur le net Soit le programme C suivant include include include ceci est un commentaire en langage C int main void oat x x delta a b c declaration de variables réelles printf Entrez les valeurs des a b c n a ?che le message entre guillemet et saute une ligne scanf f f f a b c saisie de a b c delta bb - a c Calcul du delta if delta si delta est egal a zero x -b a une solution double printf la solution unique est xs f n x a ?che la solution réelle x en gardant chi ?res après la virgule if delta si delta est sup a zero x -b - sqrt delta a x -b sqrt delta a printf les deux racines sont x f et x f n x x deux solutions reelles if delta printf l'equation n admet pas de solution réelle return Faites la saisie du programme enregistrez puis exécutez le programme Faire un nouveau programme qui a ?che Bonjour ? Faire un nouveau programme qui lit deux nombre réels a et b calcul puis a ?che leur moyenne on gardera trois chi ?res après la virgule pour le résultat ?nal C
Documents similaires
![](https://b3c3.c12.e2-4.dev/disserty/uploads/preview/11705155586ao4tr6sz3hs7uywhxcth7eswr97wb1lyg9dgo611oc94hznrahgd39ldjtymez5mcmmkhjkjukcwuxsj9kwg5mz34xnzgwacyalr.png)
![](https://b3c3.c12.e2-4.dev/disserty/uploads/preview/11705221592ytmnuwlugxwakctazkbkob45ju75jxciyrcp3hykia7fgjflweht212rmwecxsrkcnti3yjszlava4y3kxvqygn25gf2wu1li7en.png)
![](https://b3c3.c12.e2-4.dev/disserty/uploads/preview/B0TBMztxczELffidd2nyDkX1Ox7PaeZm1IL30EiUdjMFfBaiIzENsdYk5wWL8Fg0tCnAoxmHEeYwU5tpFSab31C9.png)
![](https://b3c3.c12.e2-4.dev/disserty/uploads/preview/11705173981ppqxe1dmxvumyqa0mhdzys3yuvcwdm8c7pb7lzxolmilu0exryoc8bxn492ce99pb7i6ft3c5xo35ki6dreux1boyterv9tcuvxz.png)
![](https://b3c3.c12.e2-4.dev/disserty/uploads/preview/tLIWuBYJBf2XjpgYnBMMwhNK4SrJKxKOxQKKyR7fYyBdXhfObstEGvVBQeZY0e4aBh0V7he27Fn4JSwpqYji8j72.png)
![](https://b3c3.c12.e2-4.dev/disserty/uploads/preview/11705173451pvvmnqfy36dtivfeyqtzbslb4heryeyzabo66b1dljfq5ptjskpxitwytbcika1mgb0yu9ltetzvxc0wevoddifa50pnjyb15tlp.png)
![](https://b3c3.c12.e2-4.dev/disserty/uploads/preview/Yg9Ojmhg5QgA2ki0WQJeuFNXDU5Bwx2mHKRKURWB0elWNEhwNSBD77L30Ivh26lPVBjbyr9noc4u0XgjNfkMJGID.png)
![](https://b3c3.c12.e2-4.dev/disserty/uploads/preview/11705176270e3myakcesvplpxc1tkb8cxrpbyd1chvt8uavwvm8jvh1h18gyq7esda8g6otpxnwiuwrjuevzhmjjqgyrzt9uo7mueghcwk4b8ok.png)
![](https://b3c3.c12.e2-4.dev/disserty/uploads/preview/11705181322bhlo49adn5dxay5ccyyudv5xhewgbhxg6ewlynl2wwoxgbneoqt3uxwoybdxazlt4fzjuqphpa8tfc0bi3ivmsvihfh33tokb9gu.png)
![](https://b3c3.c12.e2-4.dev/disserty/uploads/preview/YqRQAvPXtAlNUY6IjSZmdeaH69DKar028qQ1wI4FHaWV1o6jelernDSsNLoRNusZTmb1XPrmmO3GnmFveMRn2rLp.png)
-
25
-
0
-
0
Licence et utilisation
Gratuit pour un usage personnel Aucune attribution requise- Détails
- Publié le Dec 25, 2021
- Catégorie Science & technolo...
- Langue French
- Taille du fichier 35.6kB