Confessions of a researchaholic

October 11, 2016

Loop example

Filed under: Real — liyiwei @ 7:45 pm

From a tutorial of our computer programming class

char a = ‘N’;

while (a != ‘Y’)
cout << “Love me?” << endl; cin >> a;

1 Comment »

  1. got a great interaction with students in the tutorial πŸ˜‰

    Comment by Yanlin — October 14, 2016 @ 7:52 pm | Reply

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Your email address will not be published. Required fields are marked *


This site uses Akismet to reduce spam. Learn how your comment data is processed.

Theme: Rubric. Get a free blog at