You are viewing a single comment's thread. Return to all comments →
Java
int finalPrice=-1; for(int keyboard:keyboards){ for(int drive:drives){ if(finalPrice<keyboard+drive && keyboard+drive<=b){ finalPrice=keyboard+drive; } } } return finalPrice;
Seems like cookies are disabled on this browser, please enable them to open this website
Electronics Shop
You are viewing a single comment's thread. Return to all comments →
Java