Suppose that the input is: 58 23 46 75 98 150 12 176 145 -999 what is the output of the following program import java.util.*; public class Findtheoutput { static scanner console=new scanner ("System.in"); public static void main() { int num; num=console.nextInt(); while(num!=-999) { system.out.print(num%25+" "); num= console.nextInt(); } system.out.print();
Computers & Internet - Sun - Java Programming Language (cdj-275)
Please enter comments
Please enter your name.
Please enter the correct email address.
You must agree before submitting.

Helpful Social

Copyright © 2024 QA.XPDF.PUB - All rights reserved.