during a certain two - week period , 60 percent of the movies rented from a video store were comedies , and of the remaining movies rented , there were 3 times as many dramas as action movies . if no other movies were rented during that two - week period and there were a action movies rented , then how many comedies , in terms of a , were rented during that two - week period ?
"movies : 60 % comedies . 40 % remaining genre . now in this 40 % , there are only 2 categories . action movies and drama movies . if action = x ; drama movies = 3 x . total 4 x . 4 x = 40 ; x = 10 action movies : 10 % drama movies : 30 % we can say that out of 100 z , : comedies : 60 z action : 10 z drama : 30 z now action movies werea this means : a = 10 z . z = ( a / 10 ) comedies : 60 z = 60 * ( a / 10 ) 6 a b is the answer ."
floor(divide(60, add(3, const_1)))