That makes sense actually, but how would i go about doing that?
Type: Posts; User: bankoscarpa
That makes sense actually, but how would i go about doing that?
I have the array printing out just 0's. I am not sure what i have to input to make it output random digits. I want random digits 0-9, I am not sure what to do. This is the last program i need help...
the issue is now resolved. Thank you very much for your help. I ended up not using a second class. Thank you norm.
I have been trying to do that for the last few hours. :( It keeps giving me back errors.
I am not sure what you mean. Should i write the code where the main method has nothing in it and then separate it?
thank you Norm
Would i fix that by making a new class?
SOLVED!
This is what i have and I am not sure what i am doing wrong. It keeps giving me errors!
public class Swapper
I now have the tester down to this:
import java.util.Scanner;
public class CountSevens1Tester
{
public static void main(String[] args)
{ String s = "";
Scanner in = new Scanner(System.in);...
I did what you said and i keep getting the same error. this is what i have in the tester class.[CODE]import java.util.Scanner;
public class CountSevens1Tester
{
public static void main(String[]...
I have this code: it works and it properly runs. I just do not know how to make it have 2 classes and make a call. Sorry for the beginner question. Thank you for your help.
import...
Hmm, i see what you mean and i just tried that in my code and it did not work. :( I am not sure what i am doing wrong.
This is the tester class.
import java.util.Scanner;
public class NumbersTester
{
public static void main(String[] args)
{
String s = "";
Scanner in = new...
Issue is resolved! Thank you so much for you the help! :)
I see, well I have a specific way of being graded. (on wiley plus) That means I should probably stick to if/else statements. I do not get the part where i have two parameters in the get method. I...
That makes sense! I was not sure what I was doing wrong. When the code runs, it has no limit on what the day input is. If i put that the month is 2 and the day is 78, it will still return what i had...
I am in a low level class and I get stuck right after this:
This is my Tester class:import java.util.Scanner;
/**
This program calculates the season for a given month and day.
*/
public...
Hi, I am new here. I am in an intro level class and I am trying to learn programming for college! :)