Guest User

Untitled

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