Advertisement
TheToby

Untitled

Aug 4th, 2015
153
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. #include <iostream>
  2. int breaker(int x, double stick1){
  3. double sticks[x+1] = {};
  4. return trianglechecker(sticks);
  5. }
  6. int trianglechecker(double sticks[]){
  7. return 0;
  8. }
  9.  
  10. int main(){
  11. double times = 10;
  12. double count = 0;
  13. double stick1 = 1.0;
  14. int breaks = 2;
  15.  
  16. for(int i =0;i<times;i++){
  17. count+=breaker(breaks, stick1);
  18. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement