cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X

Solve block not giving answer

SS_9781956
7-Bedrock

Solve block not giving answer

Hello,

 

Why solve block is unable to give the maximum value?

1 ACCEPTED SOLUTION

Accepted Solutions

Are you looking for something like this:

Werner_E_1-1668368543974.png

Obviously a,b,c should be as small as possible while d and ss should be as large as possible.

 

View solution in original post

2 REPLIES 2

Are you looking for something like this:

Werner_E_1-1668368543974.png

Obviously a,b,c should be as small as possible while d and ss should be as large as possible.

 

But in case a,b,c,d must be integers and you only want to cycle through the values with the given steps only, you may do it in a small program using nested for-loops:

Werner_E_0-1668372009067.png

 

Top Tags