CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums
Results 1 to 2 of 2

Thread: conversation trainer

  1. #1
    Join Date
    Jul 2012

    conversation trainer

    What does everyone think about this as a simple trainer for little kids on how to start a conversation?

    import javax.swing.JOptionPane;

    public class Exercise_1_8 {

    public static void main(String[] args)

    String name = JOptionPane.showInputDialog("What is your name?");

    JOptionPane.showInputDialog(null, "Hello, " + name + "! How are you today?");
    JOptionPane.showInputDialog(null, "I'm happy to hear that!");
    JOptionPane.showInputDialog(null, "I'm doing great! Thanks for asking!");
    JOptionPane.showMessageDialog(null, "Bye, " + name);

  2. #2
    Join Date
    Apr 2012

    Re: conversation trainer

    Please lift up the banner in NSF math forums. I am leaving next week anyway

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Windows Mobile Development Center

Click Here to Expand Forum to Full Width

On-Demand Webinars (sponsored)