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 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%
�
View Answers
Ads
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 Assignment
Programming 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 programming
Assignment 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 help
Urgent 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
Assignment
Assignment any one can help with a java
assignment
Urgent
J2ME 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 problem
Assignment problem hello,
I am designing a program partaining job assingment using hungarian algorithm,but i am totally confused, please help me out
urgent need
urgent need Input a line. Count the number of words that start with a capital letter
Urgent requirement
Urgent requirement I want to implement Autocompletion code for Jcombobox in swing can you please help me out from
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
Programming
Programming 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 operator in java
Assignment 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
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 !!!!! 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
java assignment - Java Beginners
java 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
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
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
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
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