title: Simple D program Output order is wrong
body: <p>I am learning a new language called "D" but i have a problem when trying to write a simple program</p>
  
  <pre><code>import std.stdio;
  
  void main()
  {
      double gradeOne;
      writeln("Please enter the First Test Grade: ");
      readf(" s", &amp;gradeOne);
  
  
  }
  </code></pre>
  
  <p>Why does my program ask me for the input first before the output message?</p>
  
  <p>I think its just the DDT problem, when i run the program in command prompt its working fine</p>