how to do this problem?
Posted
by Sachin Tendulkar
on Stack Overflow
See other posts from Stack Overflow
or by Sachin Tendulkar
Published on 2010-06-16T08:46:40Z
Indexed on
2010/06/16
8:52 UTC
Read the original article
Hit count: 180
Write an iterative program that finds the largest number of McNuggets that cannot be bought in exact quantity. Your program should print the answer in the following format (where the correct number is provided in place of n):
"Largest number of McNuggets that cannot be bought in exact quantity: n"
© Stack Overflow or respective owner