Chatbox
Where is the best place we can all link up to have a reunion? A facebook group? Only platform I think we all look at daily hahah but who knows if anyone wants to show their actual face. :P Made one just now -[link]-
2 years ago
Oh I'm so down. I still play zombie escape sometimes on CS:S. Never gets old. So down for Office.
Also 15 years for me. Fuck man we are getting old as shit.
Also, loving Back 4 Blood. Highly recommend to everyone who enjoys coop zombie action. I play on steam. gLiTch handle was retired with FT. You can find me as theRemedy on Steam friends.
Also 15 years for me. Fuck man we are getting old as shit.
Also, loving Back 4 Blood. Highly recommend to everyone who enjoys coop zombie action. I play on steam. gLiTch handle was retired with FT. You can find me as theRemedy on Steam friends.
3 years ago
Super down for a rerun. I think we all have some old connections to plan something ahead of time, on an updated game, or even outdated, for all of us to do an event on. I would look forward to that very much
3 years ago
View all posts (680)
Forums
Fish Tank Clan :: Forums :: General Forums :: Tech Support |
|
« Previous topic | Next topic » |
Java help please! |
Author | Post | ||
Kirby |
|
||
Registered Member #452
Joined: Fri Oct 06 2006, 07:14PM
Posts: 600 |
NVM I FIXED IT GUYS. import javax.swing.JOptionPane; public class ComputeArea { /* Main Method */ public static void main(String[]args) { final Double PI = 3.14159265; // Declare pi as a constant Double radius, area, length, volume; // Declared radius, area, length, volume String stringInput; // Holds the input from message box // Get radius stringInput = JOptionPane.showInputDialog("Please enter the radius of the cylinder: "); radius = Double.parseDouble(stringInput); // Calc area area = radius * radius * PI; // Get length stringInput = JOptionPane.showInputDialog("Please enter the length of the cylinder: "); length = Double.parseDouble(stringInput); // Calc Volume volume = area * length; // Display Volume JOptionPane.showMessageDialog(null, "The volume of your cylinder is: " + volume + "!!!!"); // Stops the program System.exit(0); } } Edited Mon Aug 23 2010, 11:43PM |
||
Back to top |
|
||
.4ngryToasters |
|
||
you would
Registered Member #149
Joined: Sun Feb 12 2006, 01:08AM
Posts: 2039 |
Kirby, we know you take java. | ||
Back to top |
|
||
kd. |
|
||
♥ (✿◠‿◠) ♥
Registered Member #75
Joined: Sat Dec 17 2005, 08:51PM
Posts: 3128 |
.4ngryToasters wrote ... Kirby, we know you take java. high school level at that |
||
Back to top |
|
||
gLiTch |
|
||
Anal Assassin
Registered Member #455
Joined: Mon Oct 09 2006, 04:58AM
Posts: 3848 |
Didnt realize the amount of basic similarities between C++ and Java | ||
Back to top |
|
||
nostie |
|
||
Registered Member #185
Joined: Thu Mar 30 2006, 10:42PM
Posts: 3167 |
What's up with all the comments? Is that required in your class? I fucking hate leaving comments around like that. | ||
Back to top |
|
||
kd. |
|
||
♥ (✿◠‿◠) ♥
Registered Member #75
Joined: Sat Dec 17 2005, 08:51PM
Posts: 3128 |
nostie wrote ... What's up with all the comments? Is that required in your class? I fucking hate leaving comments around like that. welcome to any programming class ever |
||
Back to top |
|
||
Kirby |
|
||
Registered Member #452
Joined: Fri Oct 06 2006, 07:14PM
Posts: 600 |
kd. wrote ... nostie wrote ... What's up with all the comments? Is that required in your class? I fucking hate leaving comments around like that. welcome to any programming class ever you have to for the class or they get mad. i dont like leaving comments, but i guess comments would make your code more readable on bigger projects. |
||
Back to top |
|
||
Powered by e107 Forum System
|
|
Chatbox
Where is the best place we can all link up to have a reunion? A facebook group? Only platform I think we all look at daily hahah but who knows if anyone wants to show their actual face. :P Made one just now -[link]-
2 years ago
Oh I'm so down. I still play zombie escape sometimes on CS:S. Never gets old. So down for Office.
Also 15 years for me. Fuck man we are getting old as shit.
Also, loving Back 4 Blood. Highly recommend to everyone who enjoys coop zombie action. I play on steam. gLiTch handle was retired with FT. You can find me as theRemedy on Steam friends.
Also 15 years for me. Fuck man we are getting old as shit.
Also, loving Back 4 Blood. Highly recommend to everyone who enjoys coop zombie action. I play on steam. gLiTch handle was retired with FT. You can find me as theRemedy on Steam friends.
3 years ago
Super down for a rerun. I think we all have some old connections to plan something ahead of time, on an updated game, or even outdated, for all of us to do an event on. I would look forward to that very much
3 years ago
View all posts (680)
Online
- Guests: 120
- Members: 0
- Newest Member: kremtest
-
Most ever online: 329
Guests: 329, Members: 0 on Tuesday 21 January 2020 - 22:22:19