Question: Need help correcting code /** * Program # Lab 4b * A program that is called CountByAnything.java that will accept a number from the user,

Need help correcting code

/** * Program # Lab 4b * A program that is called CountByAnything.java that will accept a number from the user, and will count up to the amount of number up untill 100xn. * CS107-1 * March 14, 2017 * @author Erin Register */ import java.util.*; import java.io.*; import java.util.Scanner; public class CountByAnything{ public static void main(String args[]){ Scanner in = new Scanner(System.in); int n = in.nextInt(); System.out.println("Counting by "+n+" up to "+n*100); int i=1; while(i

Need help correcting code /** * Program # Lab 4b * A

SUBMITTED: 10:55 PM ON 03/20/17 1. Compare output Input Counting by 9 up to 900 9 18 27 36 45 54 63 72 81 90 99 108 117 126 135 144 153 162 171 180 189 198 207 216 225 234 243 252 261 270 279 288 297 306 315 324 333 342 351 360 Your output 369 378 387 396 405 414 423 432 441 450 459 468 477 486 495 504 513 522 531 540 549 558 567 576 585 594 603 612 621 630 639 648 657 666 675 684 693 702 711 720 729 738 747 756 765 774 783 792 801 810 819 828 837 846 855 864 873 882 891 900 Counting by 9 up to 900 9 18 27 36 45 54 63 72 81 90 99 108 117 126 135 144 153 162 171 180 189 198 207 216 225 234 243 252 261 270 279 288 297 306 315 324 333 342 351 360 369 378 387 396 405 414 42 3 432 441 450 Expected output 459 468 477 486 495 504 513 522 531 540 549 558 567 576 585 594 603 612 621 630 639 648 657 666 675 684 693 702 711 720 729 738 747 756 765 774 783 792 801 810 819 828 837 846 855 864 873 882 891 900 Total: 0/10 0/2

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!