public class method{
public static void main (String [] args) {
int [] X = new int [];
double []B = new double [];
double []C = new double [];
double []D = new double [];
initInt (X); // . Method to initialize Array X with random integer values range from to .
System.out.println(“Sum is =”+ sum (X); //. Returns the sum of all values in array X.
initDouble(C); //. Initialize array C with double values from random numbers // ranging from . to ..
copyArray (C,B); //. This method will copy the context of Array C to Array B in reverse order.
//(ex. The context of the first element at Array C will be the content of the last element at Array B.
If (compare (C,B)) //. Return true if the contents of Array C is equal to the content of Array B System.out.println (“Array B has the same value to Array C”);
addarray(B,C,D); //. Add the content of each element in B & C, stores it to each element in D int no = ;
If (found )X, no)) //. Returns true if the value N is found in array X
System.out.println(“Number “+N + “is found in the Array”);
}
}
Note: The above program should be implemented as one single class.
Answer
? Favorite Answer
Basically, you have to write a program using that as a skeleton.
Other Related Questions
Learning Visual Basic ?
Answers Favorite AnswerTry using "System.Diagnostics.Process. GetProcessesByName( "iwmp" ).Length > " for your check.
Microsoft Office word Fast answer needed its urgent?
Answers Favorite AnswerTry this:http://www.techsupport.com///microsoft-wo...Here is another thread re: the same issue with instructions:http://www.pcreview.co.uk/forums/modification-not-...http://www.techsupport.com///microsoft-wo...http://support.microsoft.com/kb/http://answers.microsoft.com/en-us/office/forum/of...
What is meant by ROM ? Explain in simple but elaborate terms.What about mobile ROM’s?
Answers Favorite AnswerHi Diva below is a link that will give a simple answer.http://wiki.answers.com/Q/What_does_ROM_stand_for_...Hope this helps.Source(s): Experience and wiki answers.ROM is Read only memory. i.e data can write only once.There two types of ROM..ROM.PROMThe difference between ROM and PROM.that is ROM is programmed during manufacturing it means data stored by manufacturing company.PROM is blank memory that a user programmable memory.user can store content on PROM.both ROM and PROM are Read only memory Data can write only once.and its not possible to write so many time.Memories of PROM and ROM are Non-volatile in nature. Its that stored informations can retain even power goes off.