CS341 : A4solnpenciljava.pdf

23 views3 pages
21 Dec 2014
Course
Professor

Document Summary

Import java. io. import java. util. class pencil{ public static void main(string[] args) { try{ //multiply the inputted numbers int[] upperterm = numbers. get(0); //the previous answer that will be multiplied by the next number. //iterate through the numbers give for(int i=1; i 0; j--) { //if answer is 0, last zero is kept if (answer[j] == 0) { uppertermlength--;

Get access

Grade+
$40 USD/m
Billed monthly
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
10 Verified Answers

Related Documents

Related Questions