coocookachoooooooooooochooo train
S is for syphillis that rots your ding-ding merry along Church bells are ringing for the dead funeral director of an action movie star supernooovaaaaa
Printable View
coocookachoooooooooooochooo train
S is for syphillis that rots your ding-ding merry along Church bells are ringing for the dead funeral director of an action movie star supernooovaaaaa
coocookachoooooooooooochooo train
S is for syphillis that rots your ding-ding merry along Church bells are ringing for the dead funeral director of an action movie star supernooovaaaaa
coocookachoooooooooooochooo train
S is for syphillis that rots your ding-ding merry along Church bells are ringing for the dead funeral director of an action movie star supernooovaaaaa
a
a
a
aa
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
aa
a
a
aa
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
b
b
b
b
b
b
b
b
b
b
b
b
b
b
b
b
bb
b
b
b
b
bb
b
b
b
b
b
b
b
cc
c
cc
c
c
c
c
c
c
c
c
c
c
c
c
c
c
c
c
c
c
c
c
c
c
c
c
c
c
c
d
d
d
d
d
d
d
d
d
d
d
d
d
d
d
d
d
dd
d
d
d
d
d
dd
d
d
d
d
d
d
d
d
d
d
e
e
e
e
e
e
e
e
e
e
e
e
e
e
e
e
e
f
f
f
f
f
f
f
f
f
f
f
f
f
f
fg
g
g
g
g
g
g
g
g
g
g
gg
g
g
g
g
g
g
g
g
gh
h
h
h
h
h
h
h
h
h
h
h
h
h
h
h
gh
h
g
g
g
h
f
f
f
g
jj
j
j
j
j
j
j
j
j
j
jj
k
k
k
k
k
k
kk
k
k
k
l
l
l
l
l
l
l
m
m
m
m
m
m
m
mn
n
n
n
n
n
n
o
o
o
o
o
o
o
o
o
o
o
o
o
p
p
p
p
p
p
p
p
p
p
p
p
p
p
pq
q
q
q
q
q
q
q
q
r
r
r
r
rr
r
r
r
r
s
s
s
s
ss
s
s
s
s
s
t
t
t
t
u
u
u
u
u
u
vv
vv
v
v
v
v
v
w
w
w
w
w
w
w
w
w
x
x
x
x
x
x
x
x
x
xy
y
y
yy
y
y
y
yz
zz
z
z
z
z
z
z
z
z
z
z
a
a
a
a
a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g
g
g
g
g
g
g
gg
g
g
g
g
g
g
g
g
gh
h
h
h
h
h
h
h
h
h
h
h
h
h
h
h
gh
h
g
g
g
h
f
f
f
g
jj
j
j
j
j
j
j
j
j
j
jj
k
k
k
k
k
k
kk
k
k
k
l
l
l
l
l
l
l
m
m
m
m
m
m
m
mn
n
n
n
n
n
n
o
o
o
o
o
o
PIE!?!?!
I'm not wearing underwear.
Do I win?
You win. une pie.
Mmmm.
Pie.
.eiP
.mmmM
aardvark
is
the
new
ph34r
moose
caboose
hang loose
mother goose
i love this thread.
i love . Issy =)
I also love this thread! :lol:
I also love this thread! :lol:
I also love this thread! :lol:
I also love this thread! :lol:
I also love this thread! :lol:
I also love this thread! :lol:
I also love this thread! :lol:
I also love this thread! :lol:
WTF!
WTF!
WTF!
WTF!
WTF!
WTF!
WTF!
WTF!
WTF!
WTF!
WTF!
WTF!
WTF!
WTF!
WTF!
WTF!
WTF!
WTF!
WTF!
WTF!
WTF!
WTF!
WTF!
WTF!
WTF!
WTF!
WTF!
WTF!
WTF!
WTF!
WTF!
WTF!
WTF!
WTF!
WTF!
WTF!
WTF!
WTF!
WTF!
WTF!
WTF!
WTF!
WTF!
WTF!
WTF!
WTF!
WTF!
WTF!
WTF!
WTF!
WTF!
WTF!
WTF!
WTF!
WTF!
WTF!
WTF!
WTF!
WTF!
WTF!
WTF!
WTF!
WTF!
WTF!
WTF!
WTF!
WTF!
WTF!
WTF!
WTF!
WTF!
WTF!
WTF!
WTF!
WTF!
WTF!
WTF!
WTF!
WTF!
WTF!
WTF!
WTF!
WTF!
WTF!
WTF!
WTF!
WTF!
WTF!
WTF!
WTF!
WTF!
WTF!
WTF!
WTF!
WTF!
WTF!
WTF!
WTF!
WTF!
WTF!
WTF!
WTF!
WTF!
WTF!
WTF!
WTF!
WTF!
WTF!
WTF!
WTF!
WTF!
WTF!
WTF!
WTF!
WTF!
WTF!
WTF!
WTF!
WTF!
WTF!
WTF!
WTF!
WTF!
WTF!
WTF!
WTF!
WTF!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F!
WTF!
WTF!
WTF!
WTF!
WTF!
Spamz0r!
S p a m z0 r!
S p a m z0 r!
S p a m z0 r!
S p a m z0 r!
S p a m z0 r!
Spamz0r!
S p a m z0 r!
S p a m z0 r!
S p a m z0 r!
S p a m z0 r!
S p a m z0 r!
Spamz0r!
S p a m z0 r!
S p a m z0 r!
S p a m z0 r!
S p a m z0 r!
S p a m z0 r!
Spamz0r!
S p a m z0 r!
S p a m z0 r!
S p a m z0 r!
S p a m z0 r!
S p a m z0 r!
Spamz0r!
S p a m z0 r!
S p a m z0 r!
S p a m z0 r!
S p a m z0 r!
S p a m z0 r!
Spamz0r!
S p a m z0 r!
S p a m z0 r!
S p a m z0 r!
S p a m z0 r!
S p a m z0 r!
Spamz0r!
S p a m z0 r!
S p a m z0 r!
S p a m z0 r!
S p a m z0 r!
S p a m z0 r!
Spamz0r!
S p a m z0 r!
S p a m z0 r!
S p a m z0 r!
S p a m z0 r!
S p a m z0 r!
Spamz0r!
S p a m z0 r!
S p a m z0 r!
S p a m z0 r!
S p a m z0 r!
S p a m z0 r!
Spamz0r!
S p a m z0 r!
S p a m z0 r!
S p a m z0 r!
S p a m z0 r!
S p a m z0 r!
Spamz0r!
S p a m z0 r!
S p a m z0 r!
S p a m z0 r!
S p a m z0 r!
S p a m z0 r!
Spamz0r!
S p a m z0 r!
S p a m z0 r!
S p a m z0 r!
S p a m z0 r!
S p a m z0 r!
Spamz0r!
S p a m z0 r!
S p a m z0 r!
S p a m z0 r!
S p a m z0 r!
S p a m z0 r!
Spamz0r!
S p a m z0 r!
S p a m z0 r!
S p a m z0 r!
S p a m z0 r!
S p a m z0 r!
Spamz0r!
S p a m z0 r!
S p a m z0 r!
S p a m z0 r!
S p a m z0 r!
S p a m z0 r!
Spamz0r!
S p a m z0 r!
S p a m z0 r!
S p a m z0 r!
S p a m z0 r!
S p a m z0 r!
Spamz0r!
S p a m z0 r!
S p a m z0 r!
S p a m z0 r!
S p a m z0 r!
S p a m z0 r!
Spamz0r!
S p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.
.
.
.
.
.
.
.
>
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
>
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
>
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
>
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
>
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
>
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
>
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
<
public class RomanA {
public static boolean again; //Key value that keeps the main loop going
public static boolean isValid; // checks if the entered value was valid
public static void wantMore(){ //Prompts the user if they would like to convert another?
boolean more;
char choice;
more = true; //more is initialized as true;
System.out.println("Would you like to convert another number?");
while(more){ //while more is true, the loop continues
System.out.print("Please enter your decision (Y\\N): ");
choice = Stdin.getChar(); //User enters in whether they would like to convert again.
switch(choice){
//If the user enters 'y' or 'Y', then breaks out of current loop & starts main loop again
case 'y': again = true; more = false; break;
case 'Y': again = true; more = false; break;
//If the user enters 'n' or 'N', then breaks out of current loop & ends program.
case 'n': again = false; more = false; break;
case 'N': again = false; more = false; break;
//If the user enters anything else, it displays an error message and prompts user to re-enter their choice.
default: {
System.out.println();
System.out.println("Good job stupid-face. You idiot.");
System.out.println("Please type in Y or N...");
more = true;
}//default
}//switchy-casey
}//while
}//wantMore
public static void main(String[] args){
int num;
System.out.println("The Roman Numeral Converter");
System.out.println("------------------------------");
System.out.println();
again = true; //again is initialized as true
while(again){ //while again is true, user is asked for a number to convert.
System.out.print("Please enter an integer to convert (0 to quit): ");
num = Stdin.getInt(); //User enters an integer to convert.
//If user enters 0, the main loop is broken and program ends.
if(num==0){
again = false;
break;
}
//If the user's number is valid by a function in the Numeral1 class,...
//...then it will convert the number.
if(Numeral1.validNum(num)==true){ //if boolean value returned by a function in Numeral1 class = true.
Numeral1.Converter(num); //Calling the converter function in the Numeral1 class to convert.
wantMore(); //calling a function whether the user would like to convert a number again.
}
//If the user's number is not valid, then the user will be prompted to re-enter.
else if(Numeral1.validNum(num)==false){ //if boolean value returned by a function in Numeral1 class = false.
System.out.println("You have entered an unauthorized request.");
System.out.println("Please re-renter...");
System.out.println();
}
}//while
//Friendly exit message.
System.out.println();
System.out.println("Thanks for using the Roman Numeral Converter!");
}//main
}//RomanA
public class RomanA {
public static boolean again; //Key value that keeps the main loop going
public static boolean isValid; // checks if the entered value was valid
public static void wantMore(){ //Prompts the user if they would like to convert another?
boolean more;
char choice;
more = true; //more is initialized as true;
System.out.println("Would you like to convert another number?");
while(more){ //while more is true, the loop continues
System.out.print("Please enter your decision (Y\\N): ");
choice = Stdin.getChar(); //User enters in whether they would like to convert again.
switch(choice){
//If the user enters 'y' or 'Y', then breaks out of current loop & starts main loop again
case 'y': again = true; more = false; break;
case 'Y': again = true; more = false; break;
//If the user enters 'n' or 'N', then breaks out of current loop & ends program.
case 'n': again = false; more = false; break;
case 'N': again = false; more = false; break;
//If the user enters anything else, it displays an error message and prompts user to re-enter their choice.
default: {
System.out.println();
System.out.println("Good job stupid-face. You idiot.");
System.out.println("Please type in Y or N...");
more = true;
}//default
}//switchy-casey
}//while
}//wantMore
public static void main(String[] args){
int num;
System.out.println("The Roman Numeral Converter");
System.out.println("------------------------------");
System.out.println();
again = true; //again is initialized as true
while(again){ //while again is true, user is asked for a number to convert.
System.out.print("Please enter an integer to convert (0 to quit): ");
num = Stdin.getInt(); //User enters an integer to convert.
//If user enters 0, the main loop is broken and program ends.
if(num==0){
again = false;
break;
}
//If the user's number is valid by a function in the Numeral1 class,...
//...then it will convert the number.
if(Numeral1.validNum(num)==true){ //if boolean value returned by a function in Numeral1 class = true.
Numeral1.Converter(num); //Calling the converter function in the Numeral1 class to convert.
wantMore(); //calling a function whether the user would like to convert a number again.
}
//If the user's number is not valid, then the user will be prompted to re-enter.
else if(Numeral1.validNum(num)==false){ //if boolean value returned by a function in Numeral1 class = false.
System.out.println("You have entered an unauthorized request.");
System.out.println("Please re-renter...");
System.out.println();
}
}//while
//Friendly exit message.
System.out.println();
System.out.println("Thanks for using the Roman Numeral Converter!");
}//main
}//RomanA
public class RomanA {
public static boolean again; //Key value that keeps the main loop going
public static boolean isValid; // checks if the entered value was valid
public static void wantMore(){ //Prompts the user if they would like to convert another?
boolean more;
char choice;
more = true; //more is initialized as true;
System.out.println("Would you like to convert another number?");
while(more){ //while more is true, the loop continues
System.out.print("Please enter your decision (Y\\N): ");
choice = Stdin.getChar(); //User enters in whether they would like to convert again.
switch(choice){
//If the user enters 'y' or 'Y', then breaks out of current loop & starts main loop again
case 'y': again = true; more = false; break;
case 'Y': again = true; more = false; break;
//If the user enters 'n' or 'N', then breaks out of current loop & ends program.
case 'n': again = false; more = false; break;
case 'N': again = false; more = false; break;
//If the user enters anything else, it displays an error message and prompts user to re-enter their choice.
default: {
System.out.println();
System.out.println("Good job stupid-face. You idiot.");
System.out.println("Please type in Y or N...");
more = true;
}//default
}//switchy-casey
}//while
}//wantMore
public static void main(String[] args){
int num;
System.out.println("The Roman Numeral Converter");
System.out.println("------------------------------");
System.out.println();
again = true; //again is initialized as true
while(again){ //while again is true, user is asked for a number to convert.
System.out.print("Please enter an integer to convert (0 to quit): ");
num = Stdin.getInt(); //User enters an integer to convert.
//If user enters 0, the main loop is broken and program ends.
if(num==0){
again = false;
break;
}
//If the user's number is valid by a function in the Numeral1 class,...
//...then it will convert the number.
if(Numeral1.validNum(num)==true){ //if boolean value returned by a function in Numeral1 class = true.
Numeral1.Converter(num); //Calling the converter function in the Numeral1 class to convert.
wantMore(); //calling a function whether the user would like to convert a number again.
}
//If the user's number is not valid, then the user will be prompted to re-enter.
else if(Numeral1.validNum(num)==false){ //if boolean value returned by a function in Numeral1 class = false.
System.out.println("You have entered an unauthorized request.");
System.out.println("Please re-renter...");
System.out.println();
}
}//while
//Friendly exit message.
System.out.println();
System.out.println("Thanks for using the Roman Numeral Converter!");
}//main
}//RomanA
public class RomanA {
public static boolean again; //Key value that keeps the main loop going
public static boolean isValid; // checks if the entered value was valid
public static void wantMore(){ //Prompts the user if they would like to convert another?
boolean more;
char choice;
more = true; //more is initialized as true;
System.out.println("Would you like to convert another number?");
while(more){ //while more is true, the loop continues
System.out.print("Please enter your decision (Y\\N): ");
choice = Stdin.getChar(); //User enters in whether they would like to convert again.
switch(choice){
//If the user enters 'y' or 'Y', then breaks out of current loop & starts main loop again
case 'y': again = true; more = false; break;
case 'Y': again = true; more = false; break;
//If the user enters 'n' or 'N', then breaks out of current loop & ends program.
case 'n': again = false; more = false; break;
case 'N': again = false; more = false; break;
//If the user enters anything else, it displays an error message and prompts user to re-enter their choice.
default: {
System.out.println();
System.out.println("Good job stupid-face. You idiot.");
System.out.println("Please type in Y or N...");
more = true;
}//default
}//switchy-casey
}//while
}//wantMore
public static void main(String[] args){
int num;
System.out.println("The Roman Numeral Converter");
System.out.println("------------------------------");
System.out.println();
again = true; //again is initialized as true
while(again){ //while again is true, user is asked for a number to convert.
System.out.print("Please enter an integer to convert (0 to quit): ");
num = Stdin.getInt(); //User enters an integer to convert.
//If user enters 0, the main loop is broken and program ends.
if(num==0){
again = false;
break;
}
//If the user's number is valid by a function in the Numeral1 class,...
//...then it will convert the number.
if(Numeral1.validNum(num)==true){ //if boolean value returned by a function in Numeral1 class = true.
Numeral1.Converter(num); //Calling the converter function in the Numeral1 class to convert.
wantMore(); //calling a function whether the user would like to convert a number again.
}
//If the user's number is not valid, then the user will be prompted to re-enter.
else if(Numeral1.validNum(num)==false){ //if boolean value returned by a function in Numeral1 class = false.
System.out.println("You have entered an unauthorized request.");
System.out.println("Please re-renter...");
System.out.println();
}
}//while
//Friendly exit message.
System.out.println();
System.out.println("Thanks for using the Roman Numeral Converter!");
}//main
}//RomanA
public class RomanA {
public static boolean again; //Key value that keeps the main loop going
public static boolean isValid; // checks if the entered value was valid
public static void wantMore(){ //Prompts the user if they would like to convert another?
boolean more;
char choice;
more = true; //more is initialized as true;
System.out.println("Would you like to convert another number?");
while(more){ //while more is true, the loop continues
System.out.print("Please enter your decision (Y\\N): ");
choice = Stdin.getChar(); //User enters in whether they would like to convert again.
switch(choice){
//If the user enters 'y' or 'Y', then breaks out of current loop & starts main loop again
case 'y': again = true; more = false; break;
case 'Y': again = true; more = false; break;
//If the user enters 'n' or 'N', then breaks out of current loop & ends program.
case 'n': again = false; more = false; break;
case 'N': again = false; more = false; break;
//If the user enters anything else, it displays an error message and prompts user to re-enter their choice.
default: {
System.out.println();
System.out.println("Good job stupid-face. You idiot.");
System.out.println("Please type in Y or N...");
more = true;
}//default
}//switchy-casey
}//while
}//wantMore
public static void main(String[] args){
int num;
System.out.println("The Roman Numeral Converter");
System.out.println("------------------------------");
System.out.println();
again = true; //again is initialized as true
while(again){ //while again is true, user is asked for a number to convert.
System.out.print("Please enter an integer to convert (0 to quit): ");
num = Stdin.getInt(); //User enters an integer to convert.
//If user enters 0, the main loop is broken and program ends.
if(num==0){
again = false;
break;
}
//If the user's number is valid by a function in the Numeral1 class,...
//...then it will convert the number.
if(Numeral1.validNum(num)==true){ //if boolean value returned by a function in Numeral1 class = true.
Numeral1.Converter(num); //Calling the converter function in the Numeral1 class to convert.
wantMore(); //calling a function whether the user would like to convert a number again.
}
//If the user's number is not valid, then the user will be prompted to re-enter.
else if(Numeral1.validNum(num)==false){ //if boolean value returned by a function in Numeral1 class = false.
System.out.println("You have entered an unauthorized request.");
System.out.println("Please re-renter...");
System.out.println();
}
}//while
//Friendly exit message.
System.out.println();
System.out.println("Thanks for using the Roman Numeral Converter!");
}//main
}//RomanA
public class RomanA {
public static boolean again; //Key value that keeps the main loop going
public static boolean isValid; // checks if the entered value was valid
public static void wantMore(){ //Prompts the user if they would like to convert another?
boolean more;
char choice;
more = true; //more is initialized as true;
System.out.println("Would you like to convert another number?");
while(more){ //while more is true, the loop continues
System.out.print("Please enter your decision (Y\\N): ");
choice = Stdin.getChar(); //User enters in whether they would like to convert again.
switch(choice){
//If the user enters 'y' or 'Y', then breaks out of current loop & starts main loop again
case 'y': again = true; more = false; break;
case 'Y': again = true; more = false; break;
//If the user enters 'n' or 'N', then breaks out of current loop & ends program.
case 'n': again = false; more = false; break;
case 'N': again = false; more = false; break;
//If the user enters anything else, it displays an error message and prompts user to re-enter their choice.
default: {
System.out.println();
System.out.println("Good job stupid-face. You idiot.");
System.out.println("Please type in Y or N...");
more = true;
}//default
}//switchy-casey
}//while
}//wantMore
public static void main(String[] args){
int num;
System.out.println("The Roman Numeral Converter");
System.out.println("------------------------------");
System.out.println();
again = true; //again is initialized as true
while(again){ //while again is true, user is asked for a number to convert.
System.out.print("Please enter an integer to convert (0 to quit): ");
num = Stdin.getInt(); //User enters an integer to convert.
//If user enters 0, the main loop is broken and program ends.
if(num==0){
again = false;
break;
}
//If the user's number is valid by a function in the Numeral1 class,...
//...then it will convert the number.
if(Numeral1.validNum(num)==true){ //if boolean value returned by a function in Numeral1 class = true.
Numeral1.Converter(num); //Calling the converter function in the Numeral1 class to convert.
wantMore(); //calling a function whether the user would like to convert a number again.
}
//If the user's number is not valid, then the user will be prompted to re-enter.
else if(Numeral1.validNum(num)==false){ //if boolean value returned by a function in Numeral1 class = false.
System.out.println("You have entered an unauthorized request.");
System.out.println("Please re-renter...");
System.out.println();
}
}//while
//Friendly exit message.
System.out.println();
System.out.println("Thanks for using the Roman Numeral Converter!");
}//main
}//RomanA
public class RomanA {
public static boolean again; //Key value that keeps the main loop going
public static boolean isValid; // checks if the entered value was valid
public static void wantMore(){ //Prompts the user if they would like to convert another?
boolean more;
char choice;
more = true; //more is initialized as true;
System.out.println("Would you like to convert another number?");
while(more){ //while more is true, the loop continues
System.out.print("Please enter your decision (Y\\N): ");
choice = Stdin.getChar(); //User enters in whether they would like to convert again.
switch(choice){
//If the user enters 'y' or 'Y', then breaks out of current loop & starts main loop again
case 'y': again = true; more = false; break;
case 'Y': again = true; more = false; break;
//If the user enters 'n' or 'N', then breaks out of current loop & ends program.
case 'n': again = false; more = false; break;
case 'N': again = false; more = false; break;
//If the user enters anything else, it displays an error message and prompts user to re-enter their choice.
default: {
System.out.println();
System.out.println("Good job stupid-face. You idiot.");
System.out.println("Please type in Y or N...");
more = true;
}//default
}//switchy-casey
}//while
}//wantMore
public static void main(String[] args){
int num;
System.out.println("The Roman Numeral Converter");
System.out.println("------------------------------");
System.out.println();
again = true; //again is initialized as true
while(again){ //while again is true, user is asked for a number to convert.
System.out.print("Please enter an integer to convert (0 to quit): ");
num = Stdin.getInt(); //User enters an integer to convert.
//If user enters 0, the main loop is broken and program ends.
if(num==0){
again = false;
break;
}
//If the user's number is valid by a function in the Numeral1 class,...
//...then it will convert the number.
if(Numeral1.validNum(num)==true){ //if boolean value returned by a function in Numeral1 class = true.
Numeral1.Converter(num); //Calling the converter function in the Numeral1 class to convert.
wantMore(); //calling a function whether the user would like to convert a number again.
}
//If the user's number is not valid, then the user will be prompted to re-enter.
else if(Numeral1.validNum(num)==false){ //if boolean value returned by a function in Numeral1 class = false.
System.out.println("You have entered an unauthorized request.");
System.out.println("Please re-renter...");
System.out.println();
}
}//while
//Friendly exit message.
System.out.println();
System.out.println("Thanks for using the Roman Numeral Converter!");
}//main
}//RomanA
public class RomanA {
public static boolean again; //Key value that keeps the main loop going
public static boolean isValid; // checks if the entered value was valid
public static void wantMore(){ //Prompts the user if they would like to convert another?
boolean more;
char choice;
more = true; //more is initialized as true;
System.out.println("Would you like to convert another number?");
while(more){ //while more is true, the loop continues
System.out.print("Please enter your decision (Y\\N): ");
choice = Stdin.getChar(); //User enters in whether they would like to convert again.
switch(choice){
//If the user enters 'y' or 'Y', then breaks out of current loop & starts main loop again
case 'y': again = true; more = false; break;
case 'Y': again = true; more = false; break;
//If the user enters 'n' or 'N', then breaks out of current loop & ends program.
case 'n': again = false; more = false; break;
case 'N': again = false; more = false; break;
//If the user enters anything else, it displays an error message and prompts user to re-enter their choice.
default: {
System.out.println();
System.out.println("Good job stupid-face. You idiot.");
System.out.println("Please type in Y or N...");
more = true;
}//default
}//switchy-casey
}//while
}//wantMore
public static void main(String[] args){
int num;
System.out.println("The Roman Numeral Converter");
System.out.println("------------------------------");
System.out.println();
again = true; //again is initialized as true
while(again){ //while again is true, user is asked for a number to convert.
System.out.print("Please enter an integer to convert (0 to quit): ");
num = Stdin.getInt(); //User enters an integer to convert.
//If user enters 0, the main loop is broken and program ends.
if(num==0){
again = false;
break;
}
//If the user's number is valid by a function in the Numeral1 class,...
//...then it will convert the number.
if(Numeral1.validNum(num)==true){ //if boolean value returned by a function in Numeral1 class = true.
Numeral1.Converter(num); //Calling the converter function in the Numeral1 class to convert.
wantMore(); //calling a function whether the user would like to convert a number again.
}
//If the user's number is not valid, then the user will be prompted to re-enter.
else if(Numeral1.validNum(num)==false){ //if boolean value returned by a function in Numeral1 class = false.
System.out.println("You have entered an unauthorized request.");
System.out.println("Please re-renter...");
System.out.println();
}
}//while
//Friendly exit message.
System.out.println();
System.out.println("Thanks for using the Roman Numeral Converter!");
}//main
}//RomanA
public class RomanA {
public static boolean again; //Key value that keeps the main loop going
public static boolean isValid; // checks if the entered value was valid
public static void wantMore(){ //Prompts the user if they would like to convert another?
boolean more;
char choice;
more = true; //more is initialized as true;
System.out.println("Would you like to convert another number?");
while(more){ //while more is true, the loop continues
System.out.print("Please enter your decision (Y\\N): ");
choice = Stdin.getChar(); //User enters in whether they would like to convert again.
switch(choice){
//If the user enters 'y' or 'Y', then breaks out of current loop & starts main loop again
case 'y': again = true; more = false; break;
case 'Y': again = true; more = false; break;
//If the user enters 'n' or 'N', then breaks out of current loop & ends program.
case 'n': again = false; more = false; break;
case 'N': again = false; more = false; break;
//If the user enters anything else, it displays an error message and prompts user to re-enter their choice.
default: {
System.out.println();
System.out.println("Good job stupid-face. You idiot.");
System.out.println("Please type in Y or N...");
more = true;
}//default
}//switchy-casey
}//while
}//wantMore
public static void main(String[] args){
int num;
System.out.println("The Roman Numeral Converter");
System.out.println("------------------------------");
System.out.println();
again = true; //again is initialized as true
while(again){ //while again is true, user is asked for a number to convert.
System.out.print("Please enter an integer to convert (0 to quit): ");
num = Stdin.getInt(); //User enters an integer to convert.
//If user enters 0, the main loop is broken and program ends.
if(num==0){
again = false;
break;
}
//If the user's number is valid by a function in the Numeral1 class,...
//...then it will convert the number.
if(Numeral1.validNum(num)==true){ //if boolean value returned by a function in Numeral1 class = true.
Numeral1.Converter(num); //Calling the converter function in the Numeral1 class to convert.
wantMore(); //calling a function whether the user would like to convert a number again.
}
//If the user's number is not valid, then the user will be prompted to re-enter.
else if(Numeral1.validNum(num)==false){ //if boolean value returned by a function in Numeral1 class = false.
System.out.println("You have entered an unauthorized request.");
System.out.println("Please re-renter...");
System.out.println();
}
}//while
//Friendly exit message.
System.out.println();
System.out.println("Thanks for using the Roman Numeral Converter!");
}//main
}//RomanA
public class RomanA {
public static boolean again; //Key value that keeps the main loop going
public static boolean isValid; // checks if the entered value was valid
public static void wantMore(){ //Prompts the user if they would like to convert another?
boolean more;
char choice;
more = true; //more is initialized as true;
System.out.println("Would you like to convert another number?");
while(more){ //while more is true, the loop continues
System.out.print("Please enter your decision (Y\\N): ");
choice = Stdin.getChar(); //User enters in whether they would like to convert again.
switch(choice){
//If the user enters 'y' or 'Y', then breaks out of current loop & starts main loop again
case 'y': again = true; more = false; break;
case 'Y': again = true; more = false; break;
//If the user enters 'n' or 'N', then breaks out of current loop & ends program.
case 'n': again = false; more = false; break;
case 'N': again = false; more = false; break;
//If the user enters anything else, it displays an error message and prompts user to re-enter their choice.
default: {
System.out.println();
System.out.println("Good job stupid-face. You idiot.");
System.out.println("Please type in Y or N...");
more = true;
}//default
}//switchy-casey
}//while
}//wantMore
public static void main(String[] args){
int num;
System.out.println("The Roman Numeral Converter");
System.out.println("------------------------------");
System.out.println();
again = true; //again is initialized as true
while(again){ //while again is true, user is asked for a number to convert.
System.out.print("Please enter an integer to convert (0 to quit): ");
num = Stdin.getInt(); //User enters an integer to convert.
//If user enters 0, the main loop is broken and program ends.
if(num==0){
again = false;
break;
}
//If the user's number is valid by a function in the Numeral1 class,...
//...then it will convert the number.
if(Numeral1.validNum(num)==true){ //if boolean value returned by a function in Numeral1 class = true.
Numeral1.Converter(num); //Calling the converter function in the Numeral1 class to convert.
wantMore(); //calling a function whether the user would like to convert a number again.
}
//If the user's number is not valid, then the user will be prompted to re-enter.
else if(Numeral1.validNum(num)==false){ //if boolean value returned by a function in Numeral1 class = false.
System.out.println("You have entered an unauthorized request.");
System.out.println("Please re-renter...");
System.out.println();
}
}//while
//Friendly exit message.
System.out.println();
System.out.println("Thanks for using the Roman Numeral Converter!");
}//main
}//RomanA
public class RomanA {
public static boolean again; //Key value that keeps the main loop going
public static boolean isValid; // checks if the entered value was valid
public static void wantMore(){ //Prompts the user if they would like to convert another?
boolean more;
char choice;
more = true; //more is initialized as true;
System.out.println("Would you like to convert another number?");
while(more){ //while more is true, the loop continues
System.out.print("Please enter your decision (Y\\N): ");
choice = Stdin.getChar(); //User enters in whether they would like to convert again.
switch(choice){
//If the user enters 'y' or 'Y', then breaks out of current loop & starts main loop again
case 'y': again = true; more = false; break;
case 'Y': again = true; more = false; break;
//If the user enters 'n' or 'N', then breaks out of current loop & ends program.
case 'n': again = false; more = false; break;
case 'N': again = false; more = false; break;
//If the user enters anything else, it displays an error message and prompts user to re-enter their choice.
default: {
System.out.println();
System.out.println("Good job stupid-face. You idiot.");
System.out.println("Please type in Y or N...");
more = true;
}//default
}//switchy-casey
}//while
}//wantMore
public static void main(String[] args){
int num;
System.out.println("The Roman Numeral Converter");
System.out.println("------------------------------");
System.out.println();
again = true; //again is initialized as true
while(again){ //while again is true, user is asked for a number to convert.
System.out.print("Please enter an integer to convert (0 to quit): ");
num = Stdin.getInt(); //User enters an integer to convert.
//If user enters 0, the main loop is broken and program ends.
if(num==0){
again = false;
break;
}
//If the user's number is valid by a function in the Numeral1 class,...
//...then it will convert the number.
if(Numeral1.validNum(num)==true){ //if boolean value returned by a function in Numeral1 class = true.
Numeral1.Converter(num); //Calling the converter function in the Numeral1 class to convert.
wantMore(); //calling a function whether the user would like to convert a number again.
}
//If the user's number is not valid, then the user will be prompted to re-enter.
else if(Numeral1.validNum(num)==false){ //if boolean value returned by a function in Numeral1 class = false.
System.out.println("You have entered an unauthorized request.");
System.out.println("Please re-renter...");
System.out.println();
}
}//while
//Friendly exit message.
System.out.println();
System.out.println("Thanks for using the Roman Numeral Converter!");
}//main
}//RomanA
public class RomanA {
public static boolean again; //Key value that keeps the main loop going
public static boolean isValid; // checks if the entered value was valid
public static void wantMore(){ //Prompts the user if they would like to convert another?
boolean more;
char choice;
more = true; //more is initialized as true;
System.out.println("Would you like to convert another number?");
while(more){ //while more is true, the loop continues
System.out.print("Please enter your decision (Y\\N): ");
choice = Stdin.getChar(); //User enters in whether they would like to convert again.
switch(choice){
//If the user enters 'y' or 'Y', then breaks out of current loop & starts main loop again
case 'y': again = true; more = false; break;
case 'Y': again = true; more = false; break;
//If the user enters 'n' or 'N', then breaks out of current loop & ends program.
case 'n': again = false; more = false; break;
case 'N': again = false; more = false; break;
//If the user enters anything else, it displays an error message and prompts user to re-enter their choice.
default: {
System.out.println();
System.out.println("Good job stupid-face. You idiot.");
System.out.println("Please type in Y or N...");
more = true;
}//default
}//switchy-casey
}//while
}//wantMore
public static void main(String[] args){
int num;
System.out.println("The Roman Numeral Converter");
System.out.println("------------------------------");
System.out.println();
again = true; //again is initialized as true
while(again){ //while again is true, user is asked for a number to convert.
System.out.print("Please enter an integer to convert (0 to quit): ");
num = Stdin.getInt(); //User enters an integer to convert.
//If user enters 0, the main loop is broken and program ends.
if(num==0){
again = false;
break;
}
//If the user's number is valid by a function in the Numeral1 class,...
//...then it will convert the number.
if(Numeral1.validNum(num)==true){ //if boolean value returned by a function in Numeral1 class = true.
Numeral1.Converter(num); //Calling the converter function in the Numeral1 class to convert.
wantMore(); //calling a function whether the user would like to convert a number again.
}
//If the user's number is not valid, then the user will be prompted to re-enter.
else if(Numeral1.validNum(num)==false){ //if boolean value returned by a function in Numeral1 class = false.
System.out.println("You have entered an unauthorized request.");
System.out.println("Please re-renter...");
System.out.println();
}
}//while
//Friendly exit message.
System.out.println();
System.out.println("Thanks for using the Roman Numeral Converter!");
}//main
}//RomanA
public class RomanA {
public static boolean again; //Key value that keeps the main loop going
public static boolean isValid; // checks if the entered value was valid
public static void wantMore(){ //Prompts the user if they would like to convert another?
boolean more;
char choice;
more = true; //more is initialized as true;
System.out.println("Would you like to convert another number?");
while(more){ //while more is true, the loop continues
System.out.print("Please enter your decision (Y\\N): ");
choice = Stdin.getChar(); //User enters in whether they would like to convert again.
switch(choice){
//If the user enters 'y' or 'Y', then breaks out of current loop & starts main loop again
case 'y': again = true; more = false; break;
case 'Y': again = true; more = false; break;
//If the user enters 'n' or 'N', then breaks out of current loop & ends program.
case 'n': again = false; more = false; break;
case 'N': again = false; more = false; break;
//If the user enters anything else, it displays an error message and prompts user to re-enter their choice.
default: {
System.out.println();
System.out.println("Good job stupid-face. You idiot.");
System.out.println("Please type in Y or N...");
more = true;
}//default
}//switchy-casey
}//while
}//wantMore
public static void main(String[] args){
int num;
System.out.println("The Roman Numeral Converter");
System.out.println("------------------------------");
System.out.println();
again = true; //again is initialized as true
while(again){ //while again is true, user is asked for a number to convert.
System.out.print("Please enter an integer to convert (0 to quit): ");
num = Stdin.getInt(); //User enters an integer to convert.
//If user enters 0, the main loop is broken and program ends.
if(num==0){
again = false;
break;
}
//If the user's number is valid by a function in the Numeral1 class,...
//...then it will convert the number.
if(Numeral1.validNum(num)==true){ //if boolean value returned by a function in Numeral1 class = true.
Numeral1.Converter(num); //Calling the converter function in the Numeral1 class to convert.
wantMore(); //calling a function whether the user would like to convert a number again.
}
//If the user's number is not valid, then the user will be prompted to re-enter.
else if(Numeral1.validNum(num)==false){ //if boolean value returned by a function in Numeral1 class = false.
System.out.println("You have entered an unauthorized request.");
System.out.println("Please re-renter...");
System.out.println();
}
}//while
//Friendly exit message.
System.out.println();
System.out.println("Thanks for using the Roman Numeral Converter!");
}//main
}//RomanA
public class RomanA {
public static boolean again; //Key value that keeps the main loop going
public static boolean isValid; // checks if the entered value was valid
public static void wantMore(){ //Prompts the user if they would like to convert another?
boolean more;
char choice;
more = true; //more is initialized as true;
System.out.println("Would you like to convert another number?");
while(more){ //while more is true, the loop continues
System.out.print("Please enter your decision (Y\\N): ");
choice = Stdin.getChar(); //User enters in whether they would like to convert again.
switch(choice){
//If the user enters 'y' or 'Y', then breaks out of current loop & starts main loop again
case 'y': again = true; more = false; break;
case 'Y': again = true; more = false; break;
//If the user enters 'n' or 'N', then breaks out of current loop & ends program.
case 'n': again = false; more = false; break;
case 'N': again = false; more = false; break;
//If the user enters anything else, it displays an error message and prompts user to re-enter their choice.
default: {
System.out.println();
System.out.println("Good job stupid-face. You idiot.");
System.out.println("Please type in Y or N...");
more = true;
}//default
}//switchy-casey
}//while
}//wantMore
public static void main(String[] args){
int num;
System.out.println("The Roman Numeral Converter");
System.out.println("------------------------------");
System.out.println();
again = true; //again is initialized as true
while(again){ //while again is true, user is asked for a number to convert.
System.out.print("Please enter an integer to convert (0 to quit): ");
num = Stdin.getInt(); //User enters an integer to convert.
//If user enters 0, the main loop is broken and program ends.
if(num==0){
again = false;
break;
}
//If the user's number is valid by a function in the Numeral1 class,...
//...then it will convert the number.
if(Numeral1.validNum(num)==true){ //if boolean value returned by a function in Numeral1 class = true.
Numeral1.Converter(num); //Calling the converter function in the Numeral1 class to convert.
wantMore(); //calling a function whether the user would like to convert a number again.
}
//If the user's number is not valid, then the user will be prompted to re-enter.
else if(Numeral1.validNum(num)==false){ //if boolean value returned by a function in Numeral1 class = false.
System.out.println("You have entered an unauthorized request.");
System.out.println("Please re-renter...");
System.out.println();
}
}//while
//Friendly exit message.
System.out.println();
System.out.println("Thanks for using the Roman Numeral Converter!");
}//main
}//RomanA
public class RomanA {
public static boolean again; //Key value that keeps the main loop going
public static boolean isValid; // checks if the entered value was valid
public static void wantMore(){ //Prompts the user if they would like to convert another?
boolean more;
char choice;
more = true; //more is initialized as true;
System.out.println("Would you like to convert another number?");
while(more){ //while more is true, the loop continues
System.out.print("Please enter your decision (Y\\N): ");
choice = Stdin.getChar(); //User enters in whether they would like to convert again.
switch(choice){
//If the user enters 'y' or 'Y', then breaks out of current loop & starts main loop again
case 'y': again = true; more = false; break;
case 'Y': again = true; more = false; break;
//If the user enters 'n' or 'N', then breaks out of current loop & ends program.
case 'n': again = false; more = false; break;
case 'N': again = false; more = false; break;
//If the user enters anything else, it displays an error message and prompts user to re-enter their choice.
default: {
System.out.println();
System.out.println("Good job stupid-face. You idiot.");
System.out.println("Please type in Y or N...");
more = true;
}//default
}//switchy-casey
}//while
}//wantMore
public static void main(String[] args){
int num;
System.out.println("The Roman Numeral Converter");
System.out.println("------------------------------");
System.out.println();
again = true; //again is initialized as true
while(again){ //while again is true, user is asked for a number to convert.
System.out.print("Please enter an integer to convert (0 to quit): ");
num = Stdin.getInt(); //User enters an integer to convert.
//If user enters 0, the main loop is broken and program ends.
if(num==0){
again = false;
break;
}
//If the user's number is valid by a function in the Numeral1 class,...
//...then it will convert the number.
if(Numeral1.validNum(num)==true){ //if boolean value returned by a function in Numeral1 class = true.
Numeral1.Converter(num); //Calling the converter function in the Numeral1 class to convert.
wantMore(); //calling a function whether the user would like to convert a number again.
}
//If the user's number is not valid, then the user will be prompted to re-enter.
else if(Numeral1.validNum(num)==false){ //if boolean value returned by a function in Numeral1 class = false.
System.out.println("You have entered an unauthorized request.");
System.out.println("Please re-renter...");
System.out.println();
}
}//while
//Friendly exit message.
System.out.println();
System.out.println("Thanks for using the Roman Numeral Converter!");
}//main
}//RomanA
public class RomanA {
public static boolean again; //Key value that keeps the main loop going
public static boolean isValid; // checks if the entered value was valid
public static void wantMore(){ //Prompts the user if they would like to convert another?
boolean more;
char choice;
more = true; //more is initialized as true;
System.out.println("Would you like to convert another number?");
while(more){ //while more is true, the loop continues
System.out.print("Please enter your decision (Y\\N): ");
choice = Stdin.getChar(); //User enters in whether they would like to convert again.
switch(choice){
//If the user enters 'y' or 'Y', then breaks out of current loop & starts main loop again
case 'y': again = true; more = false; break;
case 'Y': again = true; more = false; break;
//If the user enters 'n' or 'N', then breaks out of current loop & ends program.
case 'n': again = false; more = false; break;
case 'N': again = false; more = false; break;
//If the user enters anything else, it displays an error message and prompts user to re-enter their choice.
default: {
System.out.println();
System.out.println("Good job stupid-face. You idiot.");
System.out.println("Please type in Y or N...");
more = true;
}//default
}//switchy-casey
}//while
}//wantMore
public static void main(String[] args){
int num;
System.out.println("The Roman Numeral Converter");
System.out.println("------------------------------");
System.out.println();
again = true; //again is initialized as true
while(again){ //while again is true, user is asked for a number to convert.
System.out.print("Please enter an integer to convert (0 to quit): ");
num = Stdin.getInt(); //User enters an integer to convert.
//If user enters 0, the main loop is broken and program ends.
if(num==0){
again = false;
break;
}
//If the user's number is valid by a function in the Numeral1 class,...
//...then it will convert the number.
if(Numeral1.validNum(num)==true){ //if boolean value returned by a function in Numeral1 class = true.
Numeral1.Converter(num); //Calling the converter function in the Numeral1 class to convert.
wantMore(); //calling a function whether the user would like to convert a number again.
}
//If the user's number is not valid, then the user will be prompted to re-enter.
else if(Numeral1.validNum(num)==false){ //if boolean value returned by a function in Numeral1 class = false.
System.out.println("You have entered an unauthorized request.");
System.out.println("Please re-renter...");
System.out.println();
}
}//while
//Friendly exit message.
System.out.println();
System.out.println("Thanks for using the Roman Numeral Converter!");
}//main
}//RomanA
public class RomanA {
public static boolean again; //Key value that keeps the main loop going
public static boolean isValid; // checks if the entered value was valid
public static void wantMore(){ //Prompts the user if they would like to convert another?
boolean more;
char choice;
more = true; //more is initialized as true;
System.out.println("Would you like to convert another number?");
while(more){ //while more is true, the loop continues
System.out.print("Please enter your decision (Y\\N): ");
choice = Stdin.getChar(); //User enters in whether they would like to convert again.
switch(choice){
//If the user enters 'y' or 'Y', then breaks out of current loop & starts main loop again
case 'y': again = true; more = false; break;
case 'Y': again = true; more = false; break;
//If the user enters 'n' or 'N', then breaks out of current loop & ends program.
case 'n': again = false; more = false; break;
case 'N': again = false; more = false; break;
//If the user enters anything else, it displays an error message and prompts user to re-enter their choice.
default: {
System.out.println();
System.out.println("Good job stupid-face. You idiot.");
System.out.println("Please type in Y or N...");
more = true;
}//default
}//switchy-casey
}//while
}//wantMore
public static void main(String[] args){
int num;
System.out.println("The Roman Numeral Converter");
System.out.println("------------------------------");
System.out.println();
again = true; //again is initialized as true
while(again){ //while again is true, user is asked for a number to convert.
System.out.print("Please enter an integer to convert (0 to quit): ");
num = Stdin.getInt(); //User enters an integer to convert.
//If user enters 0, the main loop is broken and program ends.
if(num==0){
again = false;
break;
}
//If the user's number is valid by a function in the Numeral1 class,...
//...then it will convert the number.
if(Numeral1.validNum(num)==true){ //if boolean value returned by a function in Numeral1 class = true.
Numeral1.Converter(num); //Calling the converter function in the Numeral1 class to convert.
wantMore(); //calling a function whether the user would like to convert a number again.
}
//If the user's number is not valid, then the user will be prompted to re-enter.
else if(Numeral1.validNum(num)==false){ //if boolean value returned by a function in Numeral1 class = false.
System.out.println("You have entered an unauthorized request.");
System.out.println("Please re-renter...");
System.out.println();
}
}//while
//Friendly exit message.
System.out.println();
System.out.println("Thanks for using the Roman Numeral Converter!");
}//main
}//RomanA
public class RomanA {
public static boolean again; //Key value that keeps the main loop going
public static boolean isValid; // checks if the entered value was valid
public static void wantMore(){ //Prompts the user if they would like to convert another?
boolean more;
char choice;
more = true; //more is initialized as true;
System.out.println("Would you like to convert another number?");
while(more){ //while more is true, the loop continues
System.out.print("Please enter your decision (Y\\N): ");
choice = Stdin.getChar(); //User enters in whether they would like to convert again.
switch(choice){
//If the user enters 'y' or 'Y', then breaks out of current loop & starts main loop again
case 'y': again = true; more = false; break;
case 'Y': again = true; more = false; break;
//If the user enters 'n' or 'N', then breaks out of current loop & ends program.
case 'n': again = false; more = false; break;
case 'N': again = false; more = false; break;
//If the user enters anything else, it displays an error message and prompts user to re-enter their choice.
default: {
System.out.println();
System.out.println("Good job stupid-face. You idiot.");
System.out.println("Please type in Y or N...");
more = true;
}//default
}//switchy-casey
}//while
}//wantMore
public static void main(String[] args){
int num;
System.out.println("The Roman Numeral Converter");
System.out.println("------------------------------");
System.out.println();
again = true; //again is initialized as true
while(again){ //while again is true, user is asked for a number to convert.
System.out.print("Please enter an integer to convert (0 to quit): ");
num = Stdin.getInt(); //User enters an integer to convert.
//If user enters 0, the main loop is broken and program ends.
if(num==0){
again = false;
break;
}
//If the user's number is valid by a function in the Numeral1 class,...
//...then it will convert the number.
if(Numeral1.validNum(num)==true){ //if boolean value returned by a function in Numeral1 class = true.
Numeral1.Converter(num); //Calling the converter function in the Numeral1 class to convert.
wantMore(); //calling a function whether the user would like to convert a number again.
}
//If the user's number is not valid, then the user will be prompted to re-enter.
else if(Numeral1.validNum(num)==false){ //if boolean value returned by a function in Numeral1 class = false.
System.out.println("You have entered an unauthorized request.");
System.out.println("Please re-renter...");
System.out.println();
}
}//while
//Friendly exit message.
System.out.println();
System.out.println("Thanks for using the Roman Numeral Converter!");
}//main
}//RomanA
public class RomanA {
public static boolean again; //Key value that keeps the main loop going
public static boolean isValid; // checks if the entered value was valid
public static void wantMore(){ //Prompts the user if they would like to convert another?
boolean more;
char choice;
more = true; //more is initialized as true;
System.out.println("Would you like to convert another number?");
while(more){ //while more is true, the loop continues
System.out.print("Please enter your decision (Y\\N): ");
choice = Stdin.getChar(); //User enters in whether they would like to convert again.
switch(choice){
//If the user enters 'y' or 'Y', then breaks out of current loop & starts main loop again
case 'y': again = true; more = false; break;
case 'Y': again = true; more = false; break;
//If the user enters 'n' or 'N', then breaks out of current loop & ends program.
case 'n': again = false; more = false; break;
case 'N': again = false; more = false; break;
//If the user enters anything else, it displays an error message and prompts user to re-enter their choice.
default: {
System.out.println();
System.out.println("Good job stupid-face. You idiot.");
System.out.println("Please type in Y or N...");
more = true;
}//default
}//switchy-casey
}//while
}//wantMore
public static void main(String[] args){
int num;
System.out.println("The Roman Numeral Converter");
System.out.println("------------------------------");
System.out.println();
again = true; //again is initialized as true
while(again){ //while again is true, user is asked for a number to convert.
System.out.print("Please enter an integer to convert (0 to quit): ");
num = Stdin.getInt(); //User enters an integer to convert.
//If user enters 0, the main loop is broken and program ends.
if(num==0){
again = false;
break;
}
//If the user's number is valid by a function in the Numeral1 class,...
//...then it will convert the number.
if(Numeral1.validNum(num)==true){ //if boolean value returned by a function in Numeral1 class = true.
Numeral1.Converter(num); //Calling the converter function in the Numeral1 class to convert.
wantMore(); //calling a function whether the user would like to convert a number again.
}
//If the user's number is not valid, then the user will be prompted to re-enter.
else if(Numeral1.validNum(num)==false){ //if boolean value returned by a function in Numeral1 class = false.
System.out.println("You have entered an unauthorized request.");
System.out.println("Please re-renter...");
System.out.println();
}
}//while
//Friendly exit message.
System.out.println();
System.out.println("Thanks for using the Roman Numeral Converter!");
}//main
}//RomanA
public class RomanA {
public static boolean again; //Key value that keeps the main loop going
public static boolean isValid; // checks if the entered value was valid
public static void wantMore(){ //Prompts the user if they would like to convert another?
boolean more;
char choice;
more = true; //more is initialized as true;
System.out.println("Would you like to convert another number?");
while(more){ //while more is true, the loop continues
System.out.print("Please enter your decision (Y\\N): ");
choice = Stdin.getChar(); //User enters in whether they would like to convert again.
switch(choice){
//If the user enters 'y' or 'Y', then breaks out of current loop & starts main loop again
case 'y': again = true; more = false; break;
case 'Y': again = true; more = false; break;
//If the user enters 'n' or 'N', then breaks out of current loop & ends program.
case 'n': again = false; more = false; break;
case 'N': again = false; more = false; break;
//If the user enters anything else, it displays an error message and prompts user to re-enter their choice.
default: {
System.out.println();
System.out.println("Good job stupid-face. You idiot.");
System.out.println("Please type in Y or N...");
more = true;
}//default
}//switchy-casey
}//while
}//wantMore
public static void main(String[] args){
int num;
System.out.println("The Roman Numeral Converter");
System.out.println("------------------------------");
System.out.println();
again = true; //again is initialized as true
while(again){ //while again is true, user is asked for a number to convert.
System.out.print("Please enter an integer to convert (0 to quit): ");
num = Stdin.getInt(); //User enters an integer to convert.
//If user enters 0, the main loop is broken and program ends.
if(num==0){
again = false;
break;
}
//If the user's number is valid by a function in the Numeral1 class,...
//...then it will convert the number.
if(Numeral1.validNum(num)==true){ //if boolean value returned by a function in Numeral1 class = true.
Numeral1.Converter(num); //Calling the converter function in the Numeral1 class to convert.
wantMore(); //calling a function whether the user would like to convert a number again.
}
//If the user's number is not valid, then the user will be prompted to re-enter.
else if(Numeral1.validNum(num)==false){ //if boolean value returned by a function in Numeral1 class = false.
System.out.println("You have entered an unauthorized request.");
System.out.println("Please re-renter...");
System.out.println();
}
}//while
//Friendly exit message.
System.out.println();
System.out.println("Thanks for using the Roman Numeral Converter!");
}//main
}//RomanA
public class RomanA {
public static boolean again; //Key value that keeps the main loop going
public static boolean isValid; // checks if the entered value was valid
public static void wantMore(){ //Prompts the user if they would like to convert another?
boolean more;
char choice;
more = true; //more is initialized as true;
System.out.println("Would you like to convert another number?");
while(more){ //while more is true, the loop continues
System.out.print("Please enter your decision (Y\\N): ");
choice = Stdin.getChar(); //User enters in whether they would like to convert again.
switch(choice){
//If the user enters 'y' or 'Y', then breaks out of current loop & starts main loop again
case 'y': again = true; more = false; break;
case 'Y': again = true; more = false; break;
//If the user enters 'n' or 'N', then breaks out of current loop & ends program.
case 'n': again = false; more = false; break;
case 'N': again = false; more = false; break;
//If the user enters anything else, it displays an error message and prompts user to re-enter their choice.
default: {
System.out.println();
System.out.println("Good job stupid-face. You idiot.");
System.out.println("Please type in Y or N...");
more = true;
}//default
}//switchy-casey
}//while
}//wantMore
public static void main(String[] args){
int num;
System.out.println("The Roman Numeral Converter");
System.out.println("------------------------------");
System.out.println();
again = true; //again is initialized as true
while(again){ //while again is true, user is asked for a number to convert.
System.out.print("Please enter an integer to convert (0 to quit): ");
num = Stdin.getInt(); //User enters an integer to convert.
//If user enters 0, the main loop is broken and program ends.
if(num==0){
again = false;
break;
}
//If the user's number is valid by a function in the Numeral1 class,...
//...then it will convert the number.
if(Numeral1.validNum(num)==true){ //if boolean value returned by a function in Numeral1 class = true.
Numeral1.Converter(num); //Calling the converter function in the Numeral1 class to convert.
wantMore(); //calling a function whether the user would like to convert a number again.
}
//If the user's number is not valid, then the user will be prompted to re-enter.
else if(Numeral1.validNum(num)==false){ //if boolean value returned by a function in Numeral1 class = false.
System.out.println("You have entered an unauthorized request.");
System.out.println("Please re-renter...");
System.out.println();
}
}//while
//Friendly exit message.
System.out.println();
System.out.println("Thanks for using the Roman Numeral Converter!");
}//main
}//RomanA
public class RomanA {
public static boolean again; //Key value that keeps the main loop going
public static boolean isValid; // checks if the entered value was valid
public static void wantMore(){ //Prompts the user if they would like to convert another?
boolean more;
char choice;
more = true; //more is initialized as true;
System.out.println("Would you like to convert another number?");
while(more){ //while more is true, the loop continues
System.out.print("Please enter your decision (Y\\N): ");
choice = Stdin.getChar(); //User enters in whether they would like to convert again.
switch(choice){
//If the user enters 'y' or 'Y', then breaks out of current loop & starts main loop again
case 'y': again = true; more = false; break;
case 'Y': again = true; more = false; break;
//If the user enters 'n' or 'N', then breaks out of current loop & ends program.
case 'n': again = false; more = false; break;
case 'N': again = false; more = false; break;
//If the user enters anything else, it displays an error message and prompts user to re-enter their choice.
default: {
System.out.println();
System.out.println("Good job stupid-face. You idiot.");
System.out.println("Please type in Y or N...");
more = true;
}//default
}//switchy-casey
}//while
}//wantMore
public static void main(String[] args){
int num;
System.out.println("The Roman Numeral Converter");
System.out.println("------------------------------");
System.out.println();
again = true; //again is initialized as true
while(again){ //while again is true, user is asked for a number to convert.
System.out.print("Please enter an integer to convert (0 to quit): ");
num = Stdin.getInt(); //User enters an integer to convert.
//If user enters 0, the main loop is broken and program ends.
if(num==0){
again = false;
break;
}
//If the user's number is valid by a function in the Numeral1 class,...
//...then it will convert the number.
if(Numeral1.validNum(num)==true){ //if boolean value returned by a function in Numeral1 class = true.
Numeral1.Converter(num); //Calling the converter function in the Numeral1 class to convert.
wantMore(); //calling a function whether the user would like to convert a number again.
}
//If the user's number is not valid, then the user will be prompted to re-enter.
else if(Numeral1.validNum(num)==false){ //if boolean value returned by a function in Numeral1 class = false.
System.out.println("You have entered an unauthorized request.");
System.out.println("Please re-renter...");
System.out.println();
}
}//while
//Friendly exit message.
System.out.println();
System.out.println("Thanks for using the Roman Numeral Converter!");
}//main
}//RomanA
public class RomanA {
public static boolean again; //Key value that keeps the main loop going
public static boolean isValid; // checks if the entered value was valid
public static void wantMore(){ //Prompts the user if they would like to convert another?
boolean more;
char choice;
more = true; //more is initialized as true;
System.out.println("Would you like to convert another number?");
while(more){ //while more is true, the loop continues
System.out.print("Please enter your decision (Y\\N): ");
choice = Stdin.getChar(); //User enters in whether they would like to convert again.
switch(choice){
//If the user enters 'y' or 'Y', then breaks out of current loop & starts main loop again
case 'y': again = true; more = false; break;
case 'Y': again = true; more = false; break;
//If the user enters 'n' or 'N', then breaks out of current loop & ends program.
case 'n': again = false; more = false; break;
case 'N': again = false; more = false; break;
//If the user enters anything else, it displays an error message and prompts user to re-enter their choice.
default: {
System.out.println();
System.out.println("Good job stupid-face. You idiot.");
System.out.println("Please type in Y or N...");
more = true;
}//default
}//switchy-casey
}//while
}//wantMore
public static void main(String[] args){
int num;
System.out.println("The Roman Numeral Converter");
System.out.println("------------------------------");
System.out.println();
again = true; //again is initialized as true
while(again){ //while again is true, user is asked for a number to convert.
System.out.print("Please enter an integer to convert (0 to quit): ");
num = Stdin.getInt(); //User enters an integer to convert.
//If user enters 0, the main loop is broken and program ends.
if(num==0){
again = false;
break;
}
//If the user's number is valid by a function in the Numeral1 class,...
//...then it will convert the number.
if(Numeral1.validNum(num)==true){ //if boolean value returned by a function in Numeral1 class = true.
Numeral1.Converter(num); //Calling the converter function in the Numeral1 class to convert.
wantMore(); //calling a function whether the user would like to convert a number again.
}
//If the user's number is not valid, then the user will be prompted to re-enter.
else if(Numeral1.validNum(num)==false){ //if boolean value returned by a function in Numeral1 class = false.
System.out.println("You have entered an unauthorized request.");
System.out.println("Please re-renter...");
System.out.println();
}
}//while
//Friendly exit message.
System.out.println();
System.out.println("Thanks for using the Roman Numeral Converter!");
}//main
}//RomanA
public class RomanA {
public static boolean again; //Key value that keeps the main loop going
public static boolean isValid; // checks if the entered value was valid
public static void wantMore(){ //Prompts the user if they would like to convert another?
boolean more;
char choice;
more = true; //more is initialized as true;
System.out.println("Would you like to convert another number?");
while(more){ //while more is true, the loop continues
System.out.print("Please enter your decision (Y\\N): ");
choice = Stdin.getChar(); //User enters in whether they would like to convert again.
switch(choice){
//If the user enters 'y' or 'Y', then breaks out of current loop & starts main loop again
case 'y': again = true; more = false; break;
case 'Y': again = true; more = false; break;
//If the user enters 'n' or 'N', then breaks out of current loop & ends program.
case 'n': again = false; more = false; break;
case 'N': again = false; more = false; break;
//If the user enters anything else, it displays an error message and prompts user to re-enter their choice.
default: {
System.out.println();
System.out.println("Good job stupid-face. You idiot.");
System.out.println("Please type in Y or N...");
more = true;
}//default
}//switchy-casey
}//while
}//wantMore
public static void main(String[] args){
int num;
System.out.println("The Roman Numeral Converter");
System.out.println("------------------------------");
System.out.println();
again = true; //again is initialized as true
while(again){ //while again is true, user is asked for a number to convert.
System.out.print("Please enter an integer to convert (0 to quit): ");
num = Stdin.getInt(); //User enters an integer to convert.
//If user enters 0, the main loop is broken and program ends.
if(num==0){
again = false;
break;
}
//If the user's number is valid by a function in the Numeral1 class,...
//...then it will convert the number.
if(Numeral1.validNum(num)==true){ //if boolean value returned by a function in Numeral1 class = true.
Numeral1.Converter(num); //Calling the converter function in the Numeral1 class to convert.
wantMore(); //calling a function whether the user would like to convert a number again.
}
//If the user's number is not valid, then the user will be prompted to re-enter.
else if(Numeral1.validNum(num)==false){ //if boolean value returned by a function in Numeral1 class = false.
System.out.println("You have entered an unauthorized request.");
System.out.println("Please re-renter...");
System.out.println();
}
}//while
//Friendly exit message.
System.out.println();
System.out.println("Thanks for using the Roman Numeral Converter!");
}//main
}//RomanA
public class RomanA {
public static boolean again; //Key value that keeps the main loop going
public static boolean isValid; // checks if the entered value was valid
public static void wantMore(){ //Prompts the user if they would like to convert another?
boolean more;
char choice;
more = true; //more is initialized as true;
System.out.println("Would you like to convert another number?");
while(more){ //while more is true, the loop continues
System.out.print("Please enter your decision (Y\\N): ");
choice = Stdin.getChar(); //User enters in whether they would like to convert again.
switch(choice){
//If the user enters 'y' or 'Y', then breaks out of current loop & starts main loop again
case 'y': again = true; more = false; break;
case 'Y': again = true; more = false; break;
//If the user enters 'n' or 'N', then breaks out of current loop & ends program.
case 'n': again = false; more = false; break;
case 'N': again = false; more = false; break;
//If the user enters anything else, it displays an error message and prompts user to re-enter their choice.
default: {
System.out.println();
System.out.println("Good job stupid-face. You idiot.");
System.out.println("Please type in Y or N...");
more = true;
}//default
}//switchy-casey
}//while
}//wantMore
public static void main(String[] args){
int num;
System.out.println("The Roman Numeral Converter");
System.out.println("------------------------------");
System.out.println();
again = true; //again is initialized as true
while(again){ //while again is true, user is asked for a number to convert.
System.out.print("Please enter an integer to convert (0 to quit): ");
num = Stdin.getInt(); //User enters an integer to convert.
//If user enters 0, the main loop is broken and program ends.
if(num==0){
again = false;
break;
}
//If the user's number is valid by a function in the Numeral1 class,...
//...then it will convert the number.
if(Numeral1.validNum(num)==true){ //if boolean value returned by a function in Numeral1 class = true.
Numeral1.Converter(num); //Calling the converter function in the Numeral1 class to convert.
wantMore(); //calling a function whether the user would like to convert a number again.
}
//If the user's number is not valid, then the user will be prompted to re-enter.
else if(Numeral1.validNum(num)==false){ //if boolean value returned by a function in Numeral1 class = false.
System.out.println("You have entered an unauthorized request.");
System.out.println("Please re-renter...");
System.out.println();
}
}//while
//Friendly exit message.
System.out.println();
System.out.println("Thanks for using the Roman Numeral Converter!");
}//main
}//RomanA
public class RomanA {
public static boolean again; //Key value that keeps the main loop going
public static boolean isValid; // checks if the entered value was valid
public static void wantMore(){ //Prompts the user if they would like to convert another?
boolean more;
char choice;
more = true; //more is initialized as true;
System.out.println("Would you like to convert another number?");
while(more){ //while more is true, the loop continues
System.out.print("Please enter your decision (Y\\N): ");
choice = Stdin.getChar(); //User enters in whether they would like to convert again.
switch(choice){
//If the user enters 'y' or 'Y', then breaks out of current loop & starts main loop again
case 'y': again = true; more = false; break;
case 'Y': again = true; more = false; break;
//If the user enters 'n' or 'N', then breaks out of current loop & ends program.
case 'n': again = false; more = false; break;
case 'N': again = false; more = false; break;
//If the user enters anything else, it displays an error message and prompts user to re-enter their choice.
default: {
System.out.println();
System.out.println("Good job stupid-face. You idiot.");
System.out.println("Please type in Y or N...");
more = true;
}//default
}//switchy-casey
}//while
}//wantMore
public static void main(String[] args){
int num;
System.out.println("The Roman Numeral Converter");
System.out.println("------------------------------");
System.out.println();
again = true; //again is initialized as true
while(again){ //while again is true, user is asked for a number to convert.
System.out.print("Please enter an integer to convert (0 to quit): ");
num = Stdin.getInt(); //User enters an integer to convert.
//If user enters 0, the main loop is broken and program ends.
if(num==0){
again = false;
break;
}
//If the user's number is valid by a function in the Numeral1 class,...
//...then it will convert the number.
if(Numeral1.validNum(num)==true){ //if boolean value returned by a function in Numeral1 class = true.
Numeral1.Converter(num); //Calling the converter function in the Numeral1 class to convert.
wantMore(); //calling a function whether the user would like to convert a number again.
}
//If the user's number is not valid, then the user will be prompted to re-enter.
else if(Numeral1.validNum(num)==false){ //if boolean value returned by a function in Numeral1 class = false.
System.out.println("You have entered an unauthorized request.");
System.out.println("Please re-renter...");
System.out.println();
}
}//while
//Friendly exit message.
System.out.println();
System.out.println("Thanks for using the Roman Numeral Converter!");
}//main
}//RomanA
public class RomanA {
public static boolean again; //Key value that keeps the main loop going
public static boolean isValid; // checks if the entered value was valid
public static void wantMore(){ //Prompts the user if they would like to convert another?
boolean more;
char choice;
more = true; //more is initialized as true;
System.out.println("Would you like to convert another number?");
while(more){ //while more is true, the loop continues
System.out.print("Please enter your decision (Y\\N): ");
choice = Stdin.getChar(); //User enters in whether they would like to convert again.
switch(choice){
//If the user enters 'y' or 'Y', then breaks out of current loop & starts main loop again
case 'y': again = true; more = false; break;
case 'Y': again = true; more = false; break;
//If the user enters 'n' or 'N', then breaks out of current loop & ends program.
case 'n': again = false; more = false; break;
case 'N': again = false; more = false; break;
//If the user enters anything else, it displays an error message and prompts user to re-enter their choice.
default: {
System.out.println();
System.out.println("Good job stupid-face. You idiot.");
System.out.println("Please type in Y or N...");
more = true;
}//default
}//switchy-casey
}//while
}//wantMore
public static void main(String[] args){
int num;
System.out.println("The Roman Numeral Converter");
System.out.println("------------------------------");
System.out.println();
again = true; //again is initialized as true
while(again){ //while again is true, user is asked for a number to convert.
System.out.print("Please enter an integer to convert (0 to quit): ");
num = Stdin.getInt(); //User enters an integer to convert.
//If user enters 0, the main loop is broken and program ends.
if(num==0){
again = false;
break;
}
//If the user's number is valid by a function in the Numeral1 class,...
//...then it will convert the number.
if(Numeral1.validNum(num)==true){ //if boolean value returned by a function in Numeral1 class = true.
Numeral1.Converter(num); //Calling the converter function in the Numeral1 class to convert.
wantMore(); //calling a function whether the user would like to convert a number again.
}
//If the user's number is not valid, then the user will be prompted to re-enter.
else if(Numeral1.validNum(num)==false){ //if boolean value returned by a function in Numeral1 class = false.
System.out.println("You have entered an unauthorized request.");
System.out.println("Please re-renter...");
System.out.println();
}
}//while
//Friendly exit message.
System.out.println();
System.out.println("Thanks for using the Roman Numeral Converter!");
}//main
}//RomanA
public class RomanA {
public static boolean again; //Key value that keeps the main loop going
public static boolean isValid; // checks if the entered value was valid
public static void wantMore(){ //Prompts the user if they would like to convert another?
boolean more;
char choice;
more = true; //more is initialized as true;
System.out.println("Would you like to convert another number?");
while(more){ //while more is true, the loop continues
System.out.print("Please enter your decision (Y\\N): ");
choice = Stdin.getChar(); //User enters in whether they would like to convert again.
switch(choice){
//If the user enters 'y' or 'Y', then breaks out of current loop & starts main loop again
case 'y': again = true; more = false; break;
case 'Y': again = true; more = false; break;
//If the user enters 'n' or 'N', then breaks out of current loop & ends program.
case 'n': again = false; more = false; break;
case 'N': again = false; more = false; break;
//If the user enters anything else, it displays an error message and prompts user to re-enter their choice.
default: {
System.out.println();
System.out.println("Good job stupid-face. You idiot.");
System.out.println("Please type in Y or N...");
more = true;
}//default
}//switchy-casey
}//while
}//wantMore
public static void main(String[] args){
int num;
System.out.println("The Roman Numeral Converter");
System.out.println("------------------------------");
System.out.println();
again = true; //again is initialized as true
while(again){ //while again is true, user is asked for a number to convert.
System.out.print("Please enter an integer to convert (0 to quit): ");
num = Stdin.getInt(); //User enters an integer to convert.
//If user enters 0, the main loop is broken and program ends.
if(num==0){
again = false;
break;
}
//If the user's number is valid by a function in the Numeral1 class,...
//...then it will convert the number.
if(Numeral1.validNum(num)==true){ //if boolean value returned by a function in Numeral1 class = true.
Numeral1.Converter(num); //Calling the converter function in the Numeral1 class to convert.
wantMore(); //calling a function whether the user would like to convert a number again.
}
//If the user's number is not valid, then the user will be prompted to re-enter.
else if(Numeral1.validNum(num)==false){ //if boolean value returned by a function in Numeral1 class = false.
System.out.println("You have entered an unauthorized request.");
System.out.println("Please re-renter...");
System.out.println();
}
}//while
//Friendly exit message.
System.out.println();
System.out.println("Thanks for using the Roman Numeral Converter!");
}//main
}//RomanA
public class RomanA {
public static boolean again; //Key value that keeps the main loop going
public static boolean isValid; // checks if the entered value was valid
public static void wantMore(){ //Prompts the user if they would like to convert another?
boolean more;
char choice;
more = true; //more is initialized as true;
System.out.println("Would you like to convert another number?");
while(more){ //while more is true, the loop continues
System.out.print("Please enter your decision (Y\\N): ");
choice = Stdin.getChar(); //User enters in whether they would like to convert again.
switch(choice){
//If the user enters 'y' or 'Y', then breaks out of current loop & starts main loop again
case 'y': again = true; more = false; break;
case 'Y': again = true; more = false; break;
//If the user enters 'n' or 'N', then breaks out of current loop & ends program.
case 'n': again = false; more = false; break;
case 'N': again = false; more = false; break;
//If the user enters anything else, it displays an error message and prompts user to re-enter their choice.
default: {
System.out.println();
System.out.println("Good job stupid-face. You idiot.");
System.out.println("Please type in Y or N...");
more = true;
}//default
}//switchy-casey
}//while
}//wantMore
public static void main(String[] args){
int num;
System.out.println("The Roman Numeral Converter");
System.out.println("------------------------------");
System.out.println();
again = true; //again is initialized as true
while(again){ //while again is true, user is asked for a number to convert.
System.out.print("Please enter an integer to convert (0 to quit): ");
num = Stdin.getInt(); //User enters an integer to convert.
//If user enters 0, the main loop is broken and program ends.
if(num==0){
again = false;
break;
}
//If the user's number is valid by a function in the Numeral1 class,...
//...then it will convert the number.
if(Numeral1.validNum(num)==true){ //if boolean value returned by a function in Numeral1 class = true.
Numeral1.Converter(num); //Calling the converter function in the Numeral1 class to convert.
wantMore(); //calling a function whether the user would like to convert a number again.
}
//If the user's number is not valid, then the user will be prompted to re-enter.
else if(Numeral1.validNum(num)==false){ //if boolean value returned by a function in Numeral1 class = false.
System.out.println("You have entered an unauthorized request.");
System.out.println("Please re-renter...");
System.out.println();
}
}//while
//Friendly exit message.
System.out.println();
System.out.println("Thanks for using the Roman Numeral Converter!");
}//main
}//RomanA
public class RomanA {
public static boolean again; //Key value that keeps the main loop going
public static boolean isValid; // checks if the entered value was valid
public static void wantMore(){ //Prompts the user if they would like to convert another?
boolean more;
char choice;
more = true; //more is initialized as true;
System.out.println("Would you like to convert another number?");
while(more){ //while more is true, the loop continues
System.out.print("Please enter your decision (Y\\N): ");
choice = Stdin.getChar(); //User enters in whether they would like to convert again.
switch(choice){
//If the user enters 'y' or 'Y', then breaks out of current loop & starts main loop again
case 'y': again = true; more = false; break;
case 'Y': again = true; more = false; break;
//If the user enters 'n' or 'N', then breaks out of current loop & ends program.
case 'n': again = false; more = false; break;
case 'N': again = false; more = false; break;
//If the user enters anything else, it displays an error message and prompts user to re-enter their choice.
default: {
System.out.println();
System.out.println("Good job stupid-face. You idiot.");
System.out.println("Please type in Y or N...");
more = true;
}//default
}//switchy-casey
}//while
}//wantMore
public static void main(String[] args){
int num;
System.out.println("The Roman Numeral Converter");
System.out.println("------------------------------");
System.out.println();
again = true; //again is initialized as true
while(again){ //while again is true, user is asked for a number to convert.
System.out.print("Please enter an integer to convert (0 to quit): ");
num = Stdin.getInt(); //User enters an integer to convert.
//If user enters 0, the main loop is broken and program ends.
if(num==0){
again = false;
break;
}
//If the user's number is valid by a function in the Numeral1 class,...
//...then it will convert the number.
if(Numeral1.validNum(num)==true){ //if boolean value returned by a function in Numeral1 class = true.
Numeral1.Converter(num); //Calling the converter function in the Numeral1 class to convert.
wantMore(); //calling a function whether the user would like to convert a number again.
}
//If the user's number is not valid, then the user will be prompted to re-enter.
else if(Numeral1.validNum(num)==false){ //if boolean value returned by a function in Numeral1 class = false.
System.out.println("You have entered an unauthorized request.");
System.out.println("Please re-renter...");
System.out.println();
}
}//while
//Friendly exit message.
System.out.println();
System.out.println("Thanks for using the Roman Numeral Converter!");
}//main
}//RomanA
public class Numeral1 {
public static final int MAX = 3999999;
//The integer array contains the arabic numbers.
public static int[] arabic = { 1000000, 900000, 500000, 400000, 100000, 90000, 50000, 40000, 10000, 9000,
5000, 4000, 1000, 900, 500, 400, 100, 90, 50, 40, 10, 9, 5, 4, 1 };
//The String array contains the corresponding roman numerals.
public static String[] roman = { "m", "cm", "d", "cd", "c", "xc", "l", "xl", "x", "ix",
"v", "iv", "M", "CM", "D", "CD", "C", "XC", "L", "XL", "X", "IX", "V", "IV", "I" };
public static boolean isValid;
public static boolean validNum(int num){ //Checks num for validity
if((num>0)&&(num<=MAX)){ //If num is within range of 0 and the 3999999
isValid = true; //It is valid
}
else if((num<0)||(num>MAX)){ //If num is not in range
System.out.println("ERROR: Not within range of 1 - 3,999,999.");
isValid = false; //It is not valid
}
else{
System.out.println("ERROR: Must be an integer value.");
isValid = false;
}
return isValid;
}//validNum
public static void Converter(int num){ //Converts the Arabic numbers into Roman Numerals
//Declaring an 'empty' string
String StrRoman = "";
for(int x = 0; x < arabic.length; x++){ //From element 0 to the end of the array, keep going up
while(num>=arabic[x]){ //while num is greater/equal to numbers in the integer array
StrRoman+=roman[x]; //add the String array elements to the String variable
num-=arabic[x]; //subtract the numbers in the integer array from num
}//while---> does this again and again until num becomes zero
}//for
System.out.println();
System.out.println("The Roman Numeral is: " + StrRoman); //Prints out the Roman Numeral
System.out.println();
}//Converter
}//Numeral
public class Numeral1 {
public static final int MAX = 3999999;
//The integer array contains the arabic numbers.
public static int[] arabic = { 1000000, 900000, 500000, 400000, 100000, 90000, 50000, 40000, 10000, 9000,
5000, 4000, 1000, 900, 500, 400, 100, 90, 50, 40, 10, 9, 5, 4, 1 };
//The String array contains the corresponding roman numerals.
public static String[] roman = { "m", "cm", "d", "cd", "c", "xc", "l", "xl", "x", "ix",
"v", "iv", "M", "CM", "D", "CD", "C", "XC", "L", "XL", "X", "IX", "V", "IV", "I" };
public static boolean isValid;
public static boolean validNum(int num){ //Checks num for validity
if((num>0)&&(num<=MAX)){ //If num is within range of 0 and the 3999999
isValid = true; //It is valid
}
else if((num<0)||(num>MAX)){ //If num is not in range
System.out.println("ERROR: Not within range of 1 - 3,999,999.");
isValid = false; //It is not valid
}
else{
System.out.println("ERROR: Must be an integer value.");
isValid = false;
}
return isValid;
}//validNum
public static void Converter(int num){ //Converts the Arabic numbers into Roman Numerals
//Declaring an 'empty' string
String StrRoman = "";
for(int x = 0; x < arabic.length; x++){ //From element 0 to the end of the array, keep going up
while(num>=arabic[x]){ //while num is greater/equal to numbers in the integer array
StrRoman+=roman[x]; //add the String array elements to the String variable
num-=arabic[x]; //subtract the numbers in the integer array from num
}//while---> does this again and again until num becomes zero
}//for
System.out.println();
System.out.println("The Roman Numeral is: " + StrRoman); //Prints out the Roman Numeral
System.out.println();
}//Converter
}//Numeral
public class Numeral1 {
public static final int MAX = 3999999;
//The integer array contains the arabic numbers.
public static int[] arabic = { 1000000, 900000, 500000, 400000, 100000, 90000, 50000, 40000, 10000, 9000,
5000, 4000, 1000, 900, 500, 400, 100, 90, 50, 40, 10, 9, 5, 4, 1 };
//The String array contains the corresponding roman numerals.
public static String[] roman = { "m", "cm", "d", "cd", "c", "xc", "l", "xl", "x", "ix",
"v", "iv", "M", "CM", "D", "CD", "C", "XC", "L", "XL", "X", "IX", "V", "IV", "I" };
public static boolean isValid;
public static boolean validNum(int num){ //Checks num for validity
if((num>0)&&(num<=MAX)){ //If num is within range of 0 and the 3999999
isValid = true; //It is valid
}
else if((num<0)||(num>MAX)){ //If num is not in range
System.out.println("ERROR: Not within range of 1 - 3,999,999.");
isValid = false; //It is not valid
}
else{
System.out.println("ERROR: Must be an integer value.");
isValid = false;
}
return isValid;
}//validNum
public static void Converter(int num){ //Converts the Arabic numbers into Roman Numerals
//Declaring an 'empty' string
String StrRoman = "";
for(int x = 0; x < arabic.length; x++){ //From element 0 to the end of the array, keep going up
while(num>=arabic[x]){ //while num is greater/equal to numbers in the integer array
StrRoman+=roman[x]; //add the String array elements to the String variable
num-=arabic[x]; //subtract the numbers in the integer array from num
}//while---> does this again and again until num becomes zero
}//for
System.out.println();
System.out.println("The Roman Numeral is: " + StrRoman); //Prints out the Roman Numeral
System.out.println();
}//Converter
}//Numeral
public class Numeral1 {
public static final int MAX = 3999999;
//The integer array contains the arabic numbers.
public static int[] arabic = { 1000000, 900000, 500000, 400000, 100000, 90000, 50000, 40000, 10000, 9000,
5000, 4000, 1000, 900, 500, 400, 100, 90, 50, 40, 10, 9, 5, 4, 1 };
//The String array contains the corresponding roman numerals.
public static String[] roman = { "m", "cm", "d", "cd", "c", "xc", "l", "xl", "x", "ix",
"v", "iv", "M", "CM", "D", "CD", "C", "XC", "L", "XL", "X", "IX", "V", "IV", "I" };
public static boolean isValid;
public static boolean validNum(int num){ //Checks num for validity
if((num>0)&&(num<=MAX)){ //If num is within range of 0 and the 3999999
isValid = true; //It is valid
}
else if((num<0)||(num>MAX)){ //If num is not in range
System.out.println("ERROR: Not within range of 1 - 3,999,999.");
isValid = false; //It is not valid
}
else{
System.out.println("ERROR: Must be an integer value.");
isValid = false;
}
return isValid;
}//validNum
public static void Converter(int num){ //Converts the Arabic numbers into Roman Numerals
//Declaring an 'empty' string
String StrRoman = "";
for(int x = 0; x < arabic.length; x++){ //From element 0 to the end of the array, keep going up
while(num>=arabic[x]){ //while num is greater/equal to numbers in the integer array
StrRoman+=roman[x]; //add the String array elements to the String variable
num-=arabic[x]; //subtract the numbers in the integer array from num
}//while---> does this again and again until num becomes zero
}//for
System.out.println();
System.out.println("The Roman Numeral is: " + StrRoman); //Prints out the Roman Numeral
System.out.println();
}//Converter
}//Numeral
public class Numeral1 {
public static final int MAX = 3999999;
//The integer array contains the arabic numbers.
public static int[] arabic = { 1000000, 900000, 500000, 400000, 100000, 90000, 50000, 40000, 10000, 9000,
5000, 4000, 1000, 900, 500, 400, 100, 90, 50, 40, 10, 9, 5, 4, 1 };
//The String array contains the corresponding roman numerals.
public static String[] roman = { "m", "cm", "d", "cd", "c", "xc", "l", "xl", "x", "ix",
"v", "iv", "M", "CM", "D", "CD", "C", "XC", "L", "XL", "X", "IX", "V", "IV", "I" };
public static boolean isValid;
public static boolean validNum(int num){ //Checks num for validity
if((num>0)&&(num<=MAX)){ //If num is within range of 0 and the 3999999
isValid = true; //It is valid
}
else if((num<0)||(num>MAX)){ //If num is not in range
System.out.println("ERROR: Not within range of 1 - 3,999,999.");
isValid = false; //It is not valid
}
else{
System.out.println("ERROR: Must be an integer value.");
isValid = false;
}
return isValid;
}//validNum
public static void Converter(int num){ //Converts the Arabic numbers into Roman Numerals
//Declaring an 'empty' string
String StrRoman = "";
for(int x = 0; x < arabic.length; x++){ //From element 0 to the end of the array, keep going up
while(num>=arabic[x]){ //while num is greater/equal to numbers in the integer array
StrRoman+=roman[x]; //add the String array elements to the String variable
num-=arabic[x]; //subtract the numbers in the integer array from num
}//while---> does this again and again until num becomes zero
}//for
System.out.println();
System.out.println("The Roman Numeral is: " + StrRoman); //Prints out the Roman Numeral
System.out.println();
}//Converter
}//Numeral
public class Numeral1 {
public static final int MAX = 3999999;
//The integer array contains the arabic numbers.
public static int[] arabic = { 1000000, 900000, 500000, 400000, 100000, 90000, 50000, 40000, 10000, 9000,
5000, 4000, 1000, 900, 500, 400, 100, 90, 50, 40, 10, 9, 5, 4, 1 };
//The String array contains the corresponding roman numerals.
public static String[] roman = { "m", "cm", "d", "cd", "c", "xc", "l", "xl", "x", "ix",
"v", "iv", "M", "CM", "D", "CD", "C", "XC", "L", "XL", "X", "IX", "V", "IV", "I" };
public static boolean isValid;
public static boolean validNum(int num){ //Checks num for validity
if((num>0)&&(num<=MAX)){ //If num is within range of 0 and the 3999999
isValid = true; //It is valid
}
else if((num<0)||(num>MAX)){ //If num is not in range
System.out.println("ERROR: Not within range of 1 - 3,999,999.");
isValid = false; //It is not valid
}
else{
System.out.println("ERROR: Must be an integer value.");
isValid = false;
}
return isValid;
}//validNum
public static void Converter(int num){ //Converts the Arabic numbers into Roman Numerals
//Declaring an 'empty' string
String StrRoman = "";
for(int x = 0; x < arabic.length; x++){ //From element 0 to the end of the array, keep going up
while(num>=arabic[x]){ //while num is greater/equal to numbers in the integer array
StrRoman+=roman[x]; //add the String array elements to the String variable
num-=arabic[x]; //subtract the numbers in the integer array from num
}//while---> does this again and again until num becomes zero
}//for
System.out.println();
System.out.println("The Roman Numeral is: " + StrRoman); //Prints out the Roman Numeral
System.out.println();
}//Converter
}//Numeral
public class Numeral1 {
public static final int MAX = 3999999;
//The integer array contains the arabic numbers.
public static int[] arabic = { 1000000, 900000, 500000, 400000, 100000, 90000, 50000, 40000, 10000, 9000,
5000, 4000, 1000, 900, 500, 400, 100, 90, 50, 40, 10, 9, 5, 4, 1 };
//The String array contains the corresponding roman numerals.
public static String[] roman = { "m", "cm", "d", "cd", "c", "xc", "l", "xl", "x", "ix",
"v", "iv", "M", "CM", "D", "CD", "C", "XC", "L", "XL", "X", "IX", "V", "IV", "I" };
public static boolean isValid;
public static boolean validNum(int num){ //Checks num for validity
if((num>0)&&(num<=MAX)){ //If num is within range of 0 and the 3999999
isValid = true; //It is valid
}
else if((num<0)||(num>MAX)){ //If num is not in range
System.out.println("ERROR: Not within range of 1 - 3,999,999.");
isValid = false; //It is not valid
}
else{
System.out.println("ERROR: Must be an integer value.");
isValid = false;
}
return isValid;
}//validNum
public static void Converter(int num){ //Converts the Arabic numbers into Roman Numerals
//Declaring an 'empty' string
String StrRoman = "";
for(int x = 0; x < arabic.length; x++){ //From element 0 to the end of the array, keep going up
while(num>=arabic[x]){ //while num is greater/equal to numbers in the integer array
StrRoman+=roman[x]; //add the String array elements to the String variable
num-=arabic[x]; //subtract the numbers in the integer array from num
}//while---> does this again and again until num becomes zero
}//for
System.out.println();
System.out.println("The Roman Numeral is: " + StrRoman); //Prints out the Roman Numeral
System.out.println();
}//Converter
}//Numeral
public class Numeral1 {
public static final int MAX = 3999999;
//The integer array contains the arabic numbers.
public static int[] arabic = { 1000000, 900000, 500000, 400000, 100000, 90000, 50000, 40000, 10000, 9000,
5000, 4000, 1000, 900, 500, 400, 100, 90, 50, 40, 10, 9, 5, 4, 1 };
//The String array contains the corresponding roman numerals.
public static String[] roman = { "m", "cm", "d", "cd", "c", "xc", "l", "xl", "x", "ix",
"v", "iv", "M", "CM", "D", "CD", "C", "XC", "L", "XL", "X", "IX", "V", "IV", "I" };
public static boolean isValid;
public static boolean validNum(int num){ //Checks num for validity
if((num>0)&&(num<=MAX)){ //If num is within range of 0 and the 3999999
isValid = true; //It is valid
}
else if((num<0)||(num>MAX)){ //If num is not in range
System.out.println("ERROR: Not within range of 1 - 3,999,999.");
isValid = false; //It is not valid
}
else{
System.out.println("ERROR: Must be an integer value.");
isValid = false;
}
return isValid;
}//validNum
public static void Converter(int num){ //Converts the Arabic numbers into Roman Numerals
//Declaring an 'empty' string
String StrRoman = "";
for(int x = 0; x < arabic.length; x++){ //From element 0 to the end of the array, keep going up
while(num>=arabic[x]){ //while num is greater/equal to numbers in the integer array
StrRoman+=roman[x]; //add the String array elements to the String variable
num-=arabic[x]; //subtract the numbers in the integer array from num
}//while---> does this again and again until num becomes zero
}//for
System.out.println();
System.out.println("The Roman Numeral is: " + StrRoman); //Prints out the Roman Numeral
System.out.println();
}//Converter
}//Numeral
public class RomanA {
public static boolean again; //Key value that keeps the main loop going
public static boolean isValid; // checks if the entered value was valid
public static void wantMore(){ //Prompts the user if they would like to convert another?
boolean more;
char choice;
more = true; //more is initialized as true;
System.out.println("Would you like to convert another number?");
while(more){ //while more is true, the loop continues
System.out.print("Please enter your decision (Y\\N): ");
choice = Stdin.getChar(); //User enters in whether they would like to convert again.
switch(choice){
//If the user enters 'y' or 'Y', then breaks out of current loop & starts main loop again
case 'y': again = true; more = false; break;
case 'Y': again = true; more = false; break;
//If the user enters 'n' or 'N', then breaks out of current loop & ends program.
case 'n': again = false; more = false; break;
case 'N': again = false; more = false; break;
//If the user enters anything else, it displays an error message and prompts user to re-enter their choice.
default: {
System.out.println();
System.out.println("Good job stupid-face. You idiot.");
System.out.println("Please type in Y or N...");
more = true;
}//default
}//switchy-casey
}//while
}//wantMore
public static void main(String[] args){
int num;
System.out.println("The Roman Numeral Converter");
System.out.println("------------------------------");
System.out.println();
again = true; //again is initialized as true
while(again){ //while again is true, user is asked for a number to convert.
System.out.print("Please enter an integer to convert (0 to quit): ");
num = Stdin.getInt(); //User enters an integer to convert.
//If user enters 0, the main loop is broken and program ends.
if(num==0){
again = false;
break;
}
//If the user's number is valid by a function in the Numeral1 class,...
//...then it will convert the number.
if(Numeral1.validNum(num)==true){ //if boolean value returned by a function in Numeral1 class = true.
Numeral1.Converter(num); //Calling the converter function in the Numeral1 class to convert.
wantMore(); //calling a function whether the user would like to convert a number again.
}
//If the user's number is not valid, then the user will be prompted to re-enter.
else if(Numeral1.validNum(num)==false){ //if boolean value returned by a function in Numeral1 class = false.
System.out.println("You have entered an unauthorized request.");
System.out.println("Please re-renter...");
System.out.println();
}
}//while
//Friendly exit message.
System.out.println();
System.out.println("Thanks for using the Roman Numeral Converter!");
}//main
}//RomanA
public class RomanA {
public static boolean again; //Key value that keeps the main loop going
public static boolean isValid; // checks if the entered value was valid
public static void wantMore(){ //Prompts the user if they would like to convert another?
boolean more;
char choice;
more = true; //more is initialized as true;
System.out.println("Would you like to convert another number?");
while(more){ //while more is true, the loop continues
System.out.print("Please enter your decision (Y\\N): ");
choice = Stdin.getChar(); //User enters in whether they would like to convert again.
switch(choice){
//If the user enters 'y' or 'Y', then breaks out of current loop & starts main loop again
case 'y': again = true; more = false; break;
case 'Y': again = true; more = false; break;
//If the user enters 'n' or 'N', then breaks out of current loop & ends program.
case 'n': again = false; more = false; break;
case 'N': again = false; more = false; break;
//If the user enters anything else, it displays an error message and prompts user to re-enter their choice.
default: {
System.out.println();
System.out.println("Good job stupid-face. You idiot.");
System.out.println("Please type in Y or N...");
more = true;
}//default
}//switchy-casey
}//while
}//wantMore
public static void main(String[] args){
int num;
System.out.println("The Roman Numeral Converter");
System.out.println("------------------------------");
System.out.println();
again = true; //again is initialized as true
while(again){ //while again is true, user is asked for a number to convert.
System.out.print("Please enter an integer to convert (0 to quit): ");
num = Stdin.getInt(); //User enters an integer to convert.
//If user enters 0, the main loop is broken and program ends.
if(num==0){
again = false;
break;
}
//If the user's number is valid by a function in the Numeral1 class,...
//...then it will convert the number.
if(Numeral1.validNum(num)==true){ //if boolean value returned by a function in Numeral1 class = true.
Numeral1.Converter(num); //Calling the converter function in the Numeral1 class to convert.
wantMore(); //calling a function whether the user would like to convert a number again.
}
//If the user's number is not valid, then the user will be prompted to re-enter.
else if(Numeral1.validNum(num)==false){ //if boolean value returned by a function in Numeral1 class = false.
System.out.println("You have entered an unauthorized request.");
System.out.println("Please re-renter...");
System.out.println();
}
}//while
//Friendly exit message.
System.out.println();
System.out.println("Thanks for using the Roman Numeral Converter!");
}//main
}//RomanA
public class RomanA {
public static boolean again; //Key value that keeps the main loop going
public static boolean isValid; // checks if the entered value was valid
public static void wantMore(){ //Prompts the user if they would like to convert another?
boolean more;
char choice;
more = true; //more is initialized as true;
System.out.println("Would you like to convert another number?");
while(more){ //while more is true, the loop continues
System.out.print("Please enter your decision (Y\\N): ");
choice = Stdin.getChar(); //User enters in whether they would like to convert again.
switch(choice){
//If the user enters 'y' or 'Y', then breaks out of current loop & starts main loop again
case 'y': again = true; more = false; break;
case 'Y': again = true; more = false; break;
//If the user enters 'n' or 'N', then breaks out of current loop & ends program.
case 'n': again = false; more = false; break;
case 'N': again = false; more = false; break;
//If the user enters anything else, it displays an error message and prompts user to re-enter their choice.
default: {
System.out.println();
System.out.println("Good job stupid-face. You idiot.");
System.out.println("Please type in Y or N...");
more = true;
}//default
}//switchy-casey
}//while
}//wantMore
public static void main(String[] args){
int num;
System.out.println("The Roman Numeral Converter");
System.out.println("------------------------------");
System.out.println();
again = true; //again is initialized as true
while(again){ //while again is true, user is asked for a number to convert.
System.out.print("Please enter an integer to convert (0 to quit): ");
num = Stdin.getInt(); //User enters an integer to convert.
//If user enters 0, the main loop is broken and program ends.
if(num==0){
again = false;
break;
}
//If the user's number is valid by a function in the Numeral1 class,...
//...then it will convert the number.
if(Numeral1.validNum(num)==true){ //if boolean value returned by a function in Numeral1 class = true.
Numeral1.Converter(num); //Calling the converter function in the Numeral1 class to convert.
wantMore(); //calling a function whether the user would like to convert a number again.
}
//If the user's number is not valid, then the user will be prompted to re-enter.
else if(Numeral1.validNum(num)==false){ //if boolean value returned by a function in Numeral1 class = false.
System.out.println("You have entered an unauthorized request.");
System.out.println("Please re-renter...");
System.out.println();
}
}//while
//Friendly exit message.
System.out.println();
System.out.println("Thanks for using the Roman Numeral Converter!");
}//main
}//RomanA
public class RomanA {
public static boolean again; //Key value that keeps the main loop going
public static boolean isValid; // checks if the entered value was valid
public static void wantMore(){ //Prompts the user if they would like to convert another?
boolean more;
char choice;
more = true; //more is initialized as true;
System.out.println("Would you like to convert another number?");
while(more){ //while more is true, the loop continues
System.out.print("Please enter your decision (Y\\N): ");
choice = Stdin.getChar(); //User enters in whether they would like to convert again.
switch(choice){
//If the user enters 'y' or 'Y', then breaks out of current loop & starts main loop again
case 'y': again = true; more = false; break;
case 'Y': again = true; more = false; break;
//If the user enters 'n' or 'N', then breaks out of current loop & ends program.
case 'n': again = false; more = false; break;
case 'N': again = false; more = false; break;
//If the user enters anything else, it displays an error message and prompts user to re-enter their choice.
default: {
System.out.println();
System.out.println("Good job stupid-face. You idiot.");
System.out.println("Please type in Y or N...");
more = true;
}//default
}//switchy-casey
}//while
}//wantMore
public static void main(String[] args){
int num;
System.out.println("The Roman Numeral Converter");
System.out.println("------------------------------");
System.out.println();
again = true; //again is initialized as true
while(again){ //while again is true, user is asked for a number to convert.
System.out.print("Please enter an integer to convert (0 to quit): ");
num = Stdin.getInt(); //User enters an integer to convert.
//If user enters 0, the main loop is broken and program ends.
if(num==0){
again = false;
break;
}
//If the user's number is valid by a function in the Numeral1 class,...
//...then it will convert the number.
if(Numeral1.validNum(num)==true){ //if boolean value returned by a function in Numeral1 class = true.
Numeral1.Converter(num); //Calling the converter function in the Numeral1 class to convert.
wantMore(); //calling a function whether the user would like to convert a number again.
}
//If the user's number is not valid, then the user will be prompted to re-enter.
else if(Numeral1.validNum(num)==false){ //if boolean value returned by a function in Numeral1 class = false.
System.out.println("You have entered an unauthorized request.");
System.out.println("Please re-renter...");
System.out.println();
}
}//while
//Friendly exit message.
System.out.println();
System.out.println("Thanks for using the Roman Numeral Converter!");
}//main
}//RomanA
public class RomanA {
public static boolean again; //Key value that keeps the main loop going
public static boolean isValid; // checks if the entered value was valid
public static void wantMore(){ //Prompts the user if they would like to convert another?
boolean more;
char choice;
more = true; //more is initialized as true;
System.out.println("Would you like to convert another number?");
while(more){ //while more is true, the loop continues
System.out.print("Please enter your decision (Y\\N): ");
choice = Stdin.getChar(); //User enters in whether they would like to convert again.
switch(choice){
//If the user enters 'y' or 'Y', then breaks out of current loop & starts main loop again
case 'y': again = true; more = false; break;
case 'Y': again = true; more = false; break;
//If the user enters 'n' or 'N', then breaks out of current loop & ends program.
case 'n': again = false; more = false; break;
case 'N': again = false; more = false; break;
//If the user enters anything else, it displays an error message and prompts user to re-enter their choice.
default: {
System.out.println();
System.out.println("Good job stupid-face. You idiot.");
System.out.println("Please type in Y or N...");
more = true;
}//default
}//switchy-casey
}//while
}//wantMore
public static void main(String[] args){
int num;
System.out.println("The Roman Numeral Converter");
System.out.println("------------------------------");
System.out.println();
again = true; //again is initialized as true
while(again){ //while again is true, user is asked for a number to convert.
System.out.print("Please enter an integer to convert (0 to quit): ");
num = Stdin.getInt(); //User enters an integer to convert.
//If user enters 0, the main loop is broken and program ends.
if(num==0){
again = false;
break;
}
//If the user's number is valid by a function in the Numeral1 class,...
//...then it will convert the number.
if(Numeral1.validNum(num)==true){ //if boolean value returned by a function in Numeral1 class = true.
Numeral1.Converter(num); //Calling the converter function in the Numeral1 class to convert.
wantMore(); //calling a function whether the user would like to convert a number again.
}
//If the user's number is not valid, then the user will be prompted to re-enter.
else if(Numeral1.validNum(num)==false){ //if boolean value returned by a function in Numeral1 class = false.
System.out.println("You have entered an unauthorized request.");
System.out.println("Please re-renter...");
System.out.println();
}
}//while
//Friendly exit message.
System.out.println();
System.out.println("Thanks for using the Roman Numeral Converter!");
}//main
}//RomanA
public class RomanA {
public static boolean again; //Key value that keeps the main loop going
public static boolean isValid; // checks if the entered value was valid
public static void wantMore(){ //Prompts the user if they would like to convert another?
boolean more;
char choice;
more = true; //more is initialized as true;
System.out.println("Would you like to convert another number?");
while(more){ //while more is true, the loop continues
System.out.print("Please enter your decision (Y\\N): ");
choice = Stdin.getChar(); //User enters in whether they would like to convert again.
switch(choice){
//If the user enters 'y' or 'Y', then breaks out of current loop & starts main loop again
case 'y': again = true; more = false; break;
case 'Y': again = true; more = false; break;
//If the user enters 'n' or 'N', then breaks out of current loop & ends program.
case 'n': again = false; more = false; break;
case 'N': again = false; more = false; break;
//If the user enters anything else, it displays an error message and prompts user to re-enter their choice.
default: {
System.out.println();
System.out.println("Good job stupid-face. You idiot.");
System.out.println("Please type in Y or N...");
more = true;
}//default
}//switchy-casey
}//while
}//wantMore
public static void main(String[] args){
int num;
System.out.println("The Roman Numeral Converter");
System.out.println("------------------------------");
System.out.println();
again = true; //again is initialized as true
while(again){ //while again is true, user is asked for a number to convert.
System.out.print("Please enter an integer to convert (0 to quit): ");
num = Stdin.getInt(); //User enters an integer to convert.
//If user enters 0, the main loop is broken and program ends.
if(num==0){
again = false;
break;
}
//If the user's number is valid by a function in the Numeral1 class,...
//...then it will convert the number.
if(Numeral1.validNum(num)==true){ //if boolean value returned by a function in Numeral1 class = true.
Numeral1.Converter(num); //Calling the converter function in the Numeral1 class to convert.
wantMore(); //calling a function whether the user would like to convert a number again.
}
//If the user's number is not valid, then the user will be prompted to re-enter.
else if(Numeral1.validNum(num)==false){ //if boolean value returned by a function in Numeral1 class = false.
System.out.println("You have entered an unauthorized request.");
System.out.println("Please re-renter...");
System.out.println();
}
}//while
//Friendly exit message.
System.out.println();
System.out.println("Thanks for using the Roman Numeral Converter!");
}//main
}//RomanA
public class Numeral1 {
public static final int MAX = 3999999;
//The integer array contains the arabic numbers.
public static int[] arabic = { 1000000, 900000, 500000, 400000, 100000, 90000, 50000, 40000, 10000, 9000,
5000, 4000, 1000, 900, 500, 400, 100, 90, 50, 40, 10, 9, 5, 4, 1 };
//The String array contains the corresponding roman numerals.
public static String[] roman = { "m", "cm", "d", "cd", "c", "xc", "l", "xl", "x", "ix",
"v", "iv", "M", "CM", "D", "CD", "C", "XC", "L", "XL", "X", "IX", "V", "IV", "I" };
public static boolean isValid;
public static boolean validNum(int num){ //Checks num for validity
if((num>0)&&(num<=MAX)){ //If num is within range of 0 and the 3999999
isValid = true; //It is valid
}
else if((num<0)||(num>MAX)){ //If num is not in range
System.out.println("ERROR: Not within range of 1 - 3,999,999.");
isValid = false; //It is not valid
}
else{
System.out.println("ERROR: Must be an integer value.");
isValid = false;
}
return isValid;
}//validNum
public static void Converter(int num){ //Converts the Arabic numbers into Roman Numerals
//Declaring an 'empty' string
String StrRoman = "";
for(int x = 0; x < arabic.length; x++){ //From element 0 to the end of the array, keep going up
while(num>=arabic[x]){ //while num is greater/equal to numbers in the integer array
StrRoman+=roman[x]; //add the String array elements to the String variable
num-=arabic[x]; //subtract the numbers in the integer array from num
}//while---> does this again and again until num becomes zero
}//for
System.out.println();
System.out.println("The Roman Numeral is: " + StrRoman); //Prints out the Roman Numeral
System.out.println();
}//Converter
}//Numeral
public class Numeral1 {
public static final int MAX = 3999999;
//The integer array contains the arabic numbers.
public static int[] arabic = { 1000000, 900000, 500000, 400000, 100000, 90000, 50000, 40000, 10000, 9000,
5000, 4000, 1000, 900, 500, 400, 100, 90, 50, 40, 10, 9, 5, 4, 1 };
//The String array contains the corresponding roman numerals.
public static String[] roman = { "m", "cm", "d", "cd", "c", "xc", "l", "xl", "x", "ix",
"v", "iv", "M", "CM", "D", "CD", "C", "XC", "L", "XL", "X", "IX", "V", "IV", "I" };
public static boolean isValid;
public static boolean validNum(int num){ //Checks num for validity
if((num>0)&&(num<=MAX)){ //If num is within range of 0 and the 3999999
isValid = true; //It is valid
}
else if((num<0)||(num>MAX)){ //If num is not in range
System.out.println("ERROR: Not within range of 1 - 3,999,999.");
isValid = false; //It is not valid
}
else{
System.out.println("ERROR: Must be an integer value.");
isValid = false;
}
return isValid;
}//validNum
public static void Converter(int num){ //Converts the Arabic numbers into Roman Numerals
//Declaring an 'empty' string
String StrRoman = "";
for(int x = 0; x < arabic.length; x++){ //From element 0 to the end of the array, keep going up
while(num>=arabic[x]){ //while num is greater/equal to numbers in the integer array
StrRoman+=roman[x]; //add the String array elements to the String variable
num-=arabic[x]; //subtract the numbers in the integer array from num
}//while---> does this again and again until num becomes zero
}//for
System.out.println();
System.out.println("The Roman Numeral is: " + StrRoman); //Prints out the Roman Numeral
System.out.println();
}//Converter
}//Numeral
public class Numeral1 {
public static final int MAX = 3999999;
//The integer array contains the arabic numbers.
public static int[] arabic = { 1000000, 900000, 500000, 400000, 100000, 90000, 50000, 40000, 10000, 9000,
5000, 4000, 1000, 900, 500, 400, 100, 90, 50, 40, 10, 9, 5, 4, 1 };
//The String array contains the corresponding roman numerals.
public static String[] roman = { "m", "cm", "d", "cd", "c", "xc", "l", "xl", "x", "ix",
"v", "iv", "M", "CM", "D", "CD", "C", "XC", "L", "XL", "X", "IX", "V", "IV", "I" };
public static boolean isValid;
public static boolean validNum(int num){ //Checks num for validity
if((num>0)&&(num<=MAX)){ //If num is within range of 0 and the 3999999
isValid = true; //It is valid
}
else if((num<0)||(num>MAX)){ //If num is not in range
System.out.println("ERROR: Not within range of 1 - 3,999,999.");
isValid = false; //It is not valid
}
else{
System.out.println("ERROR: Must be an integer value.");
isValid = false;
}
return isValid;
}//validNum
public static void Converter(int num){ //Converts the Arabic numbers into Roman Numerals
//Declaring an 'empty' string
String StrRoman = "";
for(int x = 0; x < arabic.length; x++){ //From element 0 to the end of the array, keep going up
while(num>=arabic[x]){ //while num is greater/equal to numbers in the integer array
StrRoman+=roman[x]; //add the String array elements to the String variable
num-=arabic[x]; //subtract the numbers in the integer array from num
}//while---> does this again and again until num becomes zero
}//for
System.out.println();
System.out.println("The Roman Numeral is: " + StrRoman); //Prints out the Roman Numeral
System.out.println();
}//Converter
}//Numeral
public class Numeral1 {
public static final int MAX = 3999999;
//The integer array contains the arabic numbers.
public static int[] arabic = { 1000000, 900000, 500000, 400000, 100000, 90000, 50000, 40000, 10000, 9000,
5000, 4000, 1000, 900, 500, 400, 100, 90, 50, 40, 10, 9, 5, 4, 1 };
//The String array contains the corresponding roman numerals.
public static String[] roman = { "m", "cm", "d", "cd", "c", "xc", "l", "xl", "x", "ix",
"v", "iv", "M", "CM", "D", "CD", "C", "XC", "L", "XL", "X", "IX", "V", "IV", "I" };
public static boolean isValid;
public static boolean validNum(int num){ //Checks num for validity
if((num>0)&&(num<=MAX)){ //If num is within range of 0 and the 3999999
isValid = true; //It is valid
}
else if((num<0)||(num>MAX)){ //If num is not in range
System.out.println("ERROR: Not within range of 1 - 3,999,999.");
isValid = false; //It is not valid
}
else{
System.out.println("ERROR: Must be an integer value.");
isValid = false;
}
return isValid;
}//validNum
public static void Converter(int num){ //Converts the Arabic numbers into Roman Numerals
//Declaring an 'empty' string
String StrRoman = "";
for(int x = 0; x < arabic.length; x++){ //From element 0 to the end of the array, keep going up
while(num>=arabic[x]){ //while num is greater/equal to numbers in the integer array
StrRoman+=roman[x]; //add the String array elements to the String variable
num-=arabic[x]; //subtract the numbers in the integer array from num
}//while---> does this again and again until num becomes zero
}//for
System.out.println();
System.out.println("The Roman Numeral is: " + StrRoman); //Prints out the Roman Numeral
System.out.println();
}//Converter
}//Numeral
public class Numeral1 {
public static final int MAX = 3999999;
//The integer array contains the arabic numbers.
public static int[] arabic = { 1000000, 900000, 500000, 400000, 100000, 90000, 50000, 40000, 10000, 9000,
5000, 4000, 1000, 900, 500, 400, 100, 90, 50, 40, 10, 9, 5, 4, 1 };
//The String array contains the corresponding roman numerals.
public static String[] roman = { "m", "cm", "d", "cd", "c", "xc", "l", "xl", "x", "ix",
"v", "iv", "M", "CM", "D", "CD", "C", "XC", "L", "XL", "X", "IX", "V", "IV", "I" };
public static boolean isValid;
public static boolean validNum(int num){ //Checks num for validity
if((num>0)&&(num<=MAX)){ //If num is within range of 0 and the 3999999
isValid = true; //It is valid
}
else if((num<0)||(num>MAX)){ //If num is not in range
System.out.println("ERROR: Not within range of 1 - 3,999,999.");
isValid = false; //It is not valid
}
else{
System.out.println("ERROR: Must be an integer value.");
isValid = false;
}
return isValid;
}//validNum
public static void Converter(int num){ //Converts the Arabic numbers into Roman Numerals
//Declaring an 'empty' string
String StrRoman = "";
for(int x = 0; x < arabic.length; x++){ //From element 0 to the end of the array, keep going up
while(num>=arabic[x]){ //while num is greater/equal to numbers in the integer array
StrRoman+=roman[x]; //add the String array elements to the String variable
num-=arabic[x]; //subtract the numbers in the integer array from num
}//while---> does this again and again until num becomes zero
}//for
System.out.println();
System.out.println("The Roman Numeral is: " + StrRoman); //Prints out the Roman Numeral
System.out.println();
}//Converter
}//Numeral
public class Numeral1 {
public static final int MAX = 3999999;
//The integer array contains the arabic numbers.
public static int[] arabic = { 1000000, 900000, 500000, 400000, 100000, 90000, 50000, 40000, 10000, 9000,
5000, 4000, 1000, 900, 500, 400, 100, 90, 50, 40, 10, 9, 5, 4, 1 };
//The String array contains the corresponding roman numerals.
public static String[] roman = { "m", "cm", "d", "cd", "c", "xc", "l", "xl", "x", "ix",
"v", "iv", "M", "CM", "D", "CD", "C", "XC", "L", "XL", "X", "IX", "V", "IV", "I" };
public static boolean isValid;
public static boolean validNum(int num){ //Checks num for validity
if((num>0)&&(num<=MAX)){ //If num is within range of 0 and the 3999999
isValid = true; //It is valid
}
else if((num<0)||(num>MAX)){ //If num is not in range
System.out.println("ERROR: Not within range of 1 - 3,999,999.");
isValid = false; //It is not valid
}
else{
System.out.println("ERROR: Must be an integer value.");
isValid = false;
}
return isValid;
}//validNum
public static void Converter(int num){ //Converts the Arabic numbers into Roman Numerals
//Declaring an 'empty' string
String StrRoman = "";
for(int x = 0; x < arabic.length; x++){ //From element 0 to the end of the array, keep going up
while(num>=arabic[x]){ //while num is greater/equal to numbers in the integer array
StrRoman+=roman[x]; //add the String array elements to the String variable
num-=arabic[x]; //subtract the numbers in the integer array from num
}//while---> does this again and again until num becomes zero
}//for
System.out.println();
System.out.println("The Roman Numeral is: " + StrRoman); //Prints out the Roman Numeral
System.out.println();
}//Converter
}//Numeral
public class Numeral1 {
public static final int MAX = 3999999;
//The integer array contains the arabic numbers.
public static int[] arabic = { 1000000, 900000, 500000, 400000, 100000, 90000, 50000, 40000, 10000, 9000,
5000, 4000, 1000, 900, 500, 400, 100, 90, 50, 40, 10, 9, 5, 4, 1 };
//The String array contains the corresponding roman numerals.
public static String[] roman = { "m", "cm", "d", "cd", "c", "xc", "l", "xl", "x", "ix",
"v", "iv", "M", "CM", "D", "CD", "C", "XC", "L", "XL", "X", "IX", "V", "IV", "I" };
public static boolean isValid;
public static boolean validNum(int num){ //Checks num for validity
if((num>0)&&(num<=MAX)){ //If num is within range of 0 and the 3999999
isValid = true; //It is valid
}
else if((num<0)||(num>MAX)){ //If num is not in range
System.out.println("ERROR: Not within range of 1 - 3,999,999.");
isValid = false; //It is not valid
}
else{
System.out.println("ERROR: Must be an integer value.");
isValid = false;
}
return isValid;
}//validNum
public static void Converter(int num){ //Converts the Arabic numbers into Roman Numerals
//Declaring an 'empty' string
String StrRoman = "";
for(int x = 0; x < arabic.length; x++){ //From element 0 to the end of the array, keep going up
while(num>=arabic[x]){ //while num is greater/equal to numbers in the integer array
StrRoman+=roman[x]; //add the String array elements to the String variable
num-=arabic[x]; //subtract the numbers in the integer array from num
}//while---> does this again and again until num becomes zero
}//for
System.out.println();
System.out.println("The Roman Numeral is: " + StrRoman); //Prints out the Roman Numeral
System.out.println();
}//Converter
}//Numeral
public class Numeral1 {
public static final int MAX = 3999999;
//The integer array contains the arabic numbers.
public static int[] arabic = { 1000000, 900000, 500000, 400000, 100000, 90000, 50000, 40000, 10000, 9000,
5000, 4000, 1000, 900, 500, 400, 100, 90, 50, 40, 10, 9, 5, 4, 1 };
//The String array contains the corresponding roman numerals.
public static String[] roman = { "m", "cm", "d", "cd", "c", "xc", "l", "xl", "x", "ix",
"v", "iv", "M", "CM", "D", "CD", "C", "XC", "L", "XL", "X", "IX", "V", "IV", "I" };
public static boolean isValid;
public static boolean validNum(int num){ //Checks num for validity
if((num>0)&&(num<=MAX)){ //If num is within range of 0 and the 3999999
isValid = true; //It is valid
}
else if((num<0)||(num>MAX)){ //If num is not in range
System.out.println("ERROR: Not within range of 1 - 3,999,999.");
isValid = false; //It is not valid
}
else{
System.out.println("ERROR: Must be an integer value.");
isValid = false;
}
return isValid;
}//validNum
public static void Converter(int num){ //Converts the Arabic numbers into Roman Numerals
//Declaring an 'empty' string
String StrRoman = "";
for(int x = 0; x < arabic.length; x++){ //From element 0 to the end of the array, keep going up
while(num>=arabic[x]){ //while num is greater/equal to numbers in the integer array
StrRoman+=roman[x]; //add the String array elements to the String variable
num-=arabic[x]; //subtract the numbers in the integer array from num
}//while---> does this again and again until num becomes zero
}//for
System.out.println();
System.out.println("The Roman Numeral is: " + StrRoman); //Prints out the Roman Numeral
System.out.println();
}//Converter
}//Numeral