I am an Indian student in USA.I have been able to write all the java codes successfully , however this one is giving me tremors.Any help would be highly appreciated.I am attaching the program herewith.It needs to develop a Galaxy?
The galaxy has up to 100 stars
Each star has from 0 to 10 planets
Each planet has from 0 to 2 moons (optional)
�Stars have up to 10 planets
Each star will have a color (relative temperature). This is expressed as a color (such as Blue-white, white, yellow, orange, red, brown, and black)
Each star has an x-y position in the galaxy (up to 100 ly from the center of the galaxy)
�Planets can be of three types Ã?¢ââ??‰â?¬Å? Nasty: Rocky or frozen (like Mercury or the planet formerly known as Pluto). Nice: Like Earth or Mars. Gas ball: Like Saturn or Jupiter.
Planets have a habitability rating based on their type. Nasty 0-65%, Nice up to 100%, or Gas: only up to 30% (percentages in your galaxy may vary)
Planets have a mineral content rated the same way. Nasty 0-100%, Nice: 0-75%, Gas: 0-25%
Planets may have up to 2 moons (for xtra credit�
Moons are the same as planets Ã?¢ââ??‰â?¬Å? buy only Nasty
And moons donÃ?¢ââ??‰â??¢t have moons.
Moons are optional for extra credit�
S0001 = X:-24 ly, y:89 ly, z:38 ly | Type: Yellow
S0001-01 = Distance=0.2 AU | Type: Nasty Habit: 45% | Minerals: 78%
S0001-02 = Distance=2.0 AU | Type: Nasty Habit: 52% | Minerals: 11%
S0001-02a = Distance=376,420 im | Habit: 47% | Minerals: 19%
S0001-02b = Distance=404,266 im | Habit: 5% | Minerals: 40%
S0001-03 = Distance=3.0 AU | Type: Nasty Habit: 23% | Minerals: 33%
S0001-03a = Distance=534,582 im | Habit: 46% | Minerals: 26%
S0001-03b = Distance=370,240 im | Habit: 24% | Minerals: 85%
S0001-04 = Distance=4.2 AU | Type: Nasty Habit: 7% | Minerals: 16%
S0001-04a = Distance=555,381 im | Habit: 41% | Minerals: 87%
S0001-05 = Distance=5.4 AU | Type: Nasty Habit: 68% | Minerals: 10%
S0001-05a = Distance=279,099 im | Habit: 7% | Minerals: 19%
S0001-06 = Distance=5.9 AU | Type: Nasty Habit: 20% | Minerals: 4%
S0001-07 = Distance=6.0 AU | Type: Nice Habit: 57% | Minerals: 47%
S0001-08 = Distance=7.0 AU | Type: Nasty Habit: 41% | Minerals: 90%
S0001-08a = Distance=510,656 im | Habit: 47% | Minerals: 91%
S0001-09 = Distance=8.3 AU | Type: Gaseous Habit: 17% | Minerals: 1%
�
Related Tutorials/Questions & Answers:
Urgent programming assignment Urgent programming assignment Hi,
I am an Indian student in USA.I have been able to write all the java codes successfully , however this one is giving me tremors.Any help would be highly appreciated.I am attaching
Programming AssignmentProgramming Assignment Hey there, We were given an
assignment to write a program to read 10 student marks from the keyboard without using an Array (only using switch statements, if statements or loops). As each mark is input
Advertisements
Assignment Question on java programmingAssignment Question on java programming Can somone help me on this . Thx
You are required to write a complete Java program for a simple grading system. At the beginning of the system, you need to input number of students
Urgent java programming question.Pls helpUrgent java
programming question.Pls help Q1. Generate 10 thousand random integers with values in the range between 1 to 100.
Q2. Store each randomly generated number into a node and then attach the node to a linked list
Programming help Very Urgent - JSP-ServletProgramming help Very Urgent Respected Sir/Madam,
Actually my code shows the following output:
There is a combo box which contains all the ID's...
Please please its very
urgent..
Thanks/Regards,
R.Ragavendran..
AssignmentAssignment any one can help with a java
assignment UrgentJ2ME programming Hi,
J2ME
programming - How to learn J2ME
Programming very fast?
Thank You
Simple Assignment Operator
Simple
Assignment Operator
Assignment operator is the most common operator almost
used with all
programming languages
assignment in OOP1assignment in OOP1 Filename:
CharCount.java
Instructions:ADS...
Input: Object Oriented
Programming 1
Output:
A ? 1 F ? 0 K ? 0 P ? 1 U - 0 Z - 0ADS_TO_REPLACE_4
B ? 0 G ? 1 L ? 0
Q ? 0 V - 0
C ? 0 H ? 0 M ? 2 R ? 3 W - 0
Assignment problemAssignment problem hello,
I am designing a program partaining job assingment using hungarian algorithm,but i am totally confused, please help me out
JAVA assignment which will need some tailoring.
Can you help me as i am not good @
programming... which will need some tailoring.
Can you help me as i am not good @
programming... @
programming but cant skip this course. Thank you
ModuleNotFoundError: No module named 'assignment'ModuleNotFoundError: No module named '
assignment' Hi,
My Python... '
assignment'
How to remove the ModuleNotFoundError: No module named '
assignment' error?
Thanks
Hi,
In your python environment you
urgent need urgent need Input a line. Count the number of words that start with a capital letter
Assignment operator in javaAssignment operator in java
Assignment operator is very common to almost all
programming languages. It is
represented as "=" symbol which assign the value to the variable lying on the
left side. Java
assignment operator
Urgent requirementUrgent requirement I want to implement Autocompletion code for Jcombobox in swing can you please help me out from
ProgrammingProgramming Given a number n, write a
programming to determine its square root if it is possible, in the contraly case print an appropriate massege on the screen
programming Java Constructor
programming for single and double constructor write a program which have no argument constructor ,single parameter constructor constructor,double parameter constor,and the now when we create a object
Assignment of variables - JSP-ServletAssignment of variables How to assign a javascript variable value to a java string variable.
....
var strName="Tarunkanti Kar";
....
...
I want to access the script variable in java variable please give
PHP Assignment OperatorsAssignment Operator:
We have used the basic
assignment operator in our life but a confusion may occur between an "
assignment operator" and "equal to ", though these seems same but in
programming languages
assignment of variables - JSP-Servletassignment of variables How to assign a javascript variable value to a java string variable.
....
var strName="Tarunkanti Kar";
....
...
I want to access the script variable in java variable please give
java assignment - Java Beginnersjava assignment I got
assignment in "design a vehicle class hierarchy in java,write a test program to demonstrate polymorphism".please send me the necessary codings and algorithm. Hi Friend,
Try the following code
ModuleNotFoundError: No module named 'urgent'ModuleNotFoundError: No module named '
urgent' Hi,
My Python... '
urgent'
How to remove the ModuleNotFoundError: No module named '
urgent'... to install padas library.
You can install
urgent python with following command
Urgent Answer ReqUrgent Answer Req how to view the file content which is at client side from jsp in java
URGENT !!!!! Any PERL language Expert . URGENT !!!!! Any PERL language Expert . I have input 50 amino acid sequences in NetPhos 2.0 server to know position of phosphorylation sites... EXCEL sheet. Can this be done using perl or any other
programming language
Need urgent help with C++ errors!Need
urgent help with C++ errors! hi,
i'm new to C++
programming.
this is my code...
i'm using Turbo C++.
It's showing so many errors!..
I don't know what to do.
Please help!!
#include<iostream.h>
void main
Assignment Operators in java 7Assignment Operators in java 7
In this section you will learn about the
Assignment Operators. This is one
type of operators.
Assignment Operators... to the variable by using any
assignment operator. Your
variables are placed
PLease reply its urgent PLease reply its
urgent Write a java function that has the signature
ââ?¬Å?Public static int clock Inter sections(int hours, int minutes)ââ?¬Â...:minute:second format.
How's that
urgent Urgent Solution requiredUrgent Solution required This is possible to transfer that file from client to server and read that file and view it in JSP. If it is can you send the example. thanks alot in advance
Hi,
You can create a JSP file
java linked list urgent!!!java linked list
urgent!!! Q1. Generate 10 thousand random integers with values in the range between 1 to 100.
Q2. Store each randomly generated number into a node and then attach the node to a linked list. The list must
java linked list urgent !!!java linked list
urgent !!! Q1. Generate 10 thousand random integers with values in the range between 1 to 100.
Q2. Store each randomly generated number into a node and then attach the node to a linked list. The list must