Ask Question
21 April, 23:18

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:

+2
Answers (1)
  1. 21 April, 23:37
    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?
Find 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 the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers