Note: This website is archived. For up-to-date information about D projects and development, please visit wiki.dlang.org.

Changes between Version 2 and Version 3 of QuadraticEquationExample

Show
Ignore:
Author:
jcc7 (IP: 68.97.93.182)
Timestamp:
01/07/07 06:09:33 (14 years ago)
Comment:

workaround for ampersand/semi-colon problem

Legend:

Unmodified
Added
Removed
Modified
  • QuadraticEquationExample

    v2 v3  
    2121 
    2222  writef("What is a? "); 
    23   scanf("%lf", &a); 
     23  scanf("%lf", & a); 
    2424 
    2525  writef("What is b? "); 
    26   scanf("%lf", &b); 
     26  scanf("%lf", & b); 
    2727 
    2828  writef("What is c? "); 
    29   scanf("%lf", &c); 
     29  scanf("%lf", & c); 
    3030 
    3131  writefln("\nFor a = %s, b = %s, c = %s:", a, b, c);