Posts by Robson Lima • 35 points
2 posts
-
2
votes2
answers68
viewsQ: IF always gives me the same answer!
#include <iostream> using namespace std; int main(){ int x, bebida; cout<<"Digite 'bebida' "<<endl; cin>>x; if(x == bebida){ cout<<"Esta certo"<<endl; } else{ (x…
c++asked Robson Lima 35 -
1
votes1
answer42
viewsQ: How to capture command line information
How do I, when typing a character, read the next one without the loop continuing until the iteration count is complete? Follow code below. #include <iostream> using namespace std; int main(){…
c++asked Robson Lima 35