Commit 695e7592 authored by Vincent's avatar Vincent

modification Polynome.java

ajout d'un espace entre les monômes dans l'affichage.
parent 703c79bd
......@@ -162,7 +162,10 @@ public class Polynome {
while (c != null) {
Monome m = c.getMonome();
if (!m.estNul()) {
if (m.getNumerateur() > 0 && msg.length() > 0) msg += "+";
if (msg.length() >0) {
if (m.getNumerateur() > 0) msg += " +";
else msg += " ";
}
msg += m;
}
c = c.getNext();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment