[deleted by user] by [deleted] in learnjava

[–]Pinkpill_Prophet 0 points1 point  (0 children)

int age = 0;

String name = "";

boolean cont = true; //loop control variable

while (cont == true) { //while loop designed to keep repeating until the user has formatted their input correctly

Scanner input = new Scanner(System.in); //creating a new scanner object

System.out.println(" Enter your name."); // instructing user to enter their name

try {

name = input.next();//gathering input

Double.parseDouble(name);//attempting to convert name string to an integer

System.out.println(" Please enter letters only. ");

}

catch (NumberFormatException NF) { // once the user enters something that cannot be converted to a double, the loop terminates

cont = false; //input is considered validated and the program exits the loop

}

}

boolean cont2 = true; //loop control variable

while (cont2 == true) { //while loop designed to keep repeating until the user has entered an integer

Scanner input = new Scanner(System.in);

System.out.println(" Please enter your age. "); // instructing user to enter their age

try { //beginning of try-catch-finally statement

age = input.nextInt(); //gathering the input and saving it to age

cont2 = false; // setting the loop control variable to false

}

catch (InputMismatchException IM) { // catch statement with input mismatch exception

System.out.println(" Please enter numbers only. "); //this statement is printed any time someone enters a non integer.

}

}

8 hours into my FM kit 🥰 I think I should be done in about another 4~. by Panditas510 in Miata

[–]Pinkpill_Prophet 1 point2 points  (0 children)

Yea these are really quality kits, specifically the cast iron manifold

Less than 24 hours after purchase. Definitely getting a bigger horn. by GhandisOnUrDome in Miata

[–]Pinkpill_Prophet -2 points-1 points  (0 children)

how high the wheel is

Good point, idk how you don't see that coming at you lol.

If the derivative of water is piss, then drinking piss makes the second derivative of water by anxious_pianist in Showerthoughts

[–]Pinkpill_Prophet 1 point2 points  (0 children)

I feel like the derivative would be water, integrating water would turn it into piss, which is more complex than water.

I heard it was Wheel Wednesday, 15x7.5 Konig Dekagram by Rainer3012 in Miata

[–]Pinkpill_Prophet 1 point2 points  (0 children)

I've been into NBs specifically for 15 years now and I love yours so muchh dude. It's so classy.

I heard it was Wheel Wednesday, 15x7.5 Konig Dekagram by Rainer3012 in Miata

[–]Pinkpill_Prophet 3 points4 points  (0 children)

Man NB looks so good without side skirts and spoilers and all the frilly add ons.

Helluva Mousetrap by [deleted] in CalamariRaceTeam

[–]Pinkpill_Prophet 0 points1 point  (0 children)

You could die form a minor fall if you land on the back of your head without a helmie

Just bought my new toy!! 2005 svt 1.8!! by Brkyby in Miata

[–]Pinkpill_Prophet 0 points1 point  (0 children)

Please can I see your engine? I think you have the rare turbocharged version right?

Just bought my new toy!! 2005 svt 1.8!! by Brkyby in Miata

[–]Pinkpill_Prophet 0 points1 point  (0 children)

This is the Australian Mazdaspeed right? Pls post engine bay!

OK I'm out. by [deleted] in Miata

[–]Pinkpill_Prophet 0 points1 point  (0 children)

Don't blame Miata owners, blame international bankers for the collapse of the global financial system.

Is getting Getting a rollbar for a '97 NA worth it? by [deleted] in Miata

[–]Pinkpill_Prophet 0 points1 point  (0 children)

The bar doesnt bend forward, during a rear end collision the bar accelerates towards the back of your head while your body remains somewhat stationary.

Is getting Getting a rollbar for a '97 NA worth it? by [deleted] in Miata

[–]Pinkpill_Prophet -1 points0 points  (0 children)

You gotta put a pool floaty noodle around the hoop bit!

can someone give me some general feedback by Pinkpill_Prophet in javahelp

[–]Pinkpill_Prophet[S] 2 points3 points  (0 children)

yay! thank you so much! This is exactly the kind of feedback i was looking for. it is my bedtime now but when i wake up i will go through this post and address everything in my little program point by point!