Ask Question
16 May, 13:12

Complete method printpopcorntime (), with int parameter bagounces, and void return type. if bagounces is less than 3, print "too small". if greater than 10, print "too large". otherwise, compute and print 6 * bagounces followed by "seconds". end with a newline. example output for ounces = 7:

+3
Answers (1)
  1. 16 May, 13:56
    0
    public void printpopcorntime (int bagounces) { if (bagounces 10) { System. out. println ("too large"); } else { System. out. println (6*bagounces + "seconds"); } System. out. println ("/n"); }
Know the Answer?
Not Sure About the Answer?
Get an answer to your question ✅ “Complete method printpopcorntime (), with int parameter bagounces, and void return type. if bagounces is less than 3, print "too small". if ...” in 📙 Computers & Technology if there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers