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

Community Tip - Visit the PTCooler (the community lounge) to get to know your fellow community members and check out some of Dale's Friday Humor posts! 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?

ACCEPTED SOLUTION

Accepted Solutions
Werner_E
25-Diamond I
(To:SS_9781956)

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
Werner_E
25-Diamond I
(To:SS_9781956)

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.

 

Werner_E
25-Diamond I
(To:Werner_E)

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

 

Announcements

Top Tags