c++

get Component code
while Component code is not 'Q'

so this is a tiny section of the Pseudo code i was given but ive just started and i have no clue how to put this in code format.

if anyone could help it be much appreciated
Maybe it is the code number of the component?
1
2
3
4
5
6
7
char com_code;
cin >> com_code;
while(com_code != 'Q'){
//do something
//...
//...
}

Post full pseudo code if you need more help :)
Last edited on
Topic archived. No new replies allowed.