0

Just wondering about making the output a little neater. For example:

Print["This is a = ", a , ", and this is b = ", ", Sum = ", NumberForm[a+b,3],"\t Calculation 1"];
Print["This is c = ", c , ", and this is d = ", ", Product = ", NumberForm[c*d,3],"\t Calculation 2"];

What is the best way to get the "Calculation 1" and "Calculation 2" words to be aligned vertically such that they are directly under each other, i.e., the "C"s start in the same column? I realize that the "\t" does not accomplish this.

Tom Mozdzen
  • 521
  • 5
  • 16

0 Answers0