Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- int breaker(int x, double stick1){
- double sticks[x+1] = {};
- return trianglechecker(sticks);
- }
- int trianglechecker(double sticks[]){
- return 0;
- }
- int main(){
- double times = 10;
- double count = 0;
- double stick1 = 1.0;
- int breaks = 2;
- for(int i =0;i<times;i++){
- count+=breaker(breaks, stick1);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement