Guest User

Untitled

a guest
Nov 18th, 2017
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. #include<iostream>
  2.  
  3. int main(){
  4.  
  5. int a;
  6. int b;
  7. int c;
  8. int salir;
  9. int solucion;
  10. a=2;
  11. b=4;
  12. c=1;
  13. solucion=a+b+c;
  14. std::cout<<"La solucion es: "<< solucion << std::endl;
  15. std::cout<<"Para seguir, pulsa cualquier tecla";
  16. std::cin>>salir;
  17. return 0;
  18. }
Add Comment
Please, Sign In to add comment