Posts by vanusa • 41 points
3 posts
-
1
votes3
answers5495
viewsQ: Display the values of the c++ vector on the screen
I cannot list (display) the products registered in my Vector. Someone can guide me, I’m learning c++. #include<iostream> using namespace std; int main() { int op, i=0; string produto[10];…
-
3
votes1
answer264
viewsQ: I need to register several products
I am creating a Product registration code, but I can only store a single product. How to improve the code? #include<iostream> using namespace std; void novoProduto(){ string nome="Patrick…
-
0
votes3
answers2371
viewsQ: How to use one if inside the other?
The problem is the following 2 football teams, wanted to create a decision where it would show "Brazil won" or "Argentina won" or "There was a draw". But I can not create three decisions, follows…