Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~95 People Reached
Favorite Forums
Favorite Tags
java x 1
Member Avatar for angxlx

how can i rerun the program using 'y' and 'n'?? package com.company; import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner reader = new Scanner(System.in); while (true) { System.out.print("Enter a number: "); int num = reader.nextInt(); if (num > 0) { String number = (num % …

Member Avatar for JamesCherrill
0
95