Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Home Answers Viewqa Java-Beginners Urgent programming assignment
Login         

View Questions and Answers by Category

Advertisements


 
Have Programming Question? Ask it here!
 
 
 


Sunny
Urgent programming assignment
0 Answer(s)      3 years ago
Posted in : Java Beginners


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% �


Advertisement
View Answers

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
Assignment
Assignment  any one can help with a java assignment
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
Programming Help URGENT - JSP-Servlet
Programming Help URGENT  Respected Sir/Madam, I am R.Ragavendran. I am in urgent need of the coding. My requirement is as follows: Beside... URGENT
Programming help Very Urgent - JSP-Servlet
Programming 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..  
Simple Assignment Operator
Simple Assignment Operator       Assignment operator is the most common operator almost used with all programming languages
Urgent
J2ME programming  Hi, J2ME programming - How to learn J2ME Programming very fast? Thank You
assignment in OOP1
assignment in OOP1  Filename: CharCount.java Instructions: Ask... are omitted. Sample Implementation: Input: Object Oriented Programming 1 Output: A ? 1 F ? 0 K ? 0 P ? 1 U - 0 Z - 0 B ? 0 G ? 1 L ? 0 Q ? 0 V - 0 C ? 0 H ? 0 M
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
my assignment
...this is my assignment....plz
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
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
Java with OOP assignment (Eclipse)
Java with OOP assignment (Eclipse)  How do i control the length of characters in an input? E.g.: Enter your name > Hi * Name too short
Assignment of variables - JSP-Servlet
Assignment 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 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
assignment of variables - JSP-Servlet
assignment 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 Operators
Assignment 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
Java assignment of variables - JSP-Servlet
Java assignment of variables   .... var strName="Tarunkanti Kar"; .... ... I want to access the script variable in java variable please give the code
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
Assignment Operators in java 7
Assignment 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
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
Urgent Answer Req
Urgent Answer Req  how to view the file content which is at client side from jsp in java
 

 

 

DMCA.com