System Complete Original
System Complete Original
![]() |
![]() Nes Action Set System Original Nintendo Complete in Box RARE collector's item US $118.66
|
| Powered by phpBay Pro |

complete this program plz...?
1.Complete the program so that a new array twice is constructed. Now copy values from val to twice, but make the values in twice double that they are in val.
class Exercise1
{
public static void main ( String[] args )
{
int[] val = {13, -4, 82, 17};
int[] twice;
System.out.println( "Original Array: "
+ val[0] + " " + val[1] + " " + val[2] + " " + val[3] );
// Constuct an array object for twice.
// Put values in twice that are twice the
// corresponding values in val.
System.out.println( "New Array: "
+ twice[0] + " " + twice[1] + " " + twice[2] + " " + twice[3] );
}
}
...
int[] val = {13, -4, 82, 17};
int[] twice = new int[ val.length() ];
for(int x = 0; x < twice.length(); x++) {
.. twice[x] = val[x] * 2;
}
...


US $239.50




































































![Sega Genesis System Original Book & Ads + Parts [New Rare] Complete Your Genesis](http://www.oneangrygamer.com/images/e/320839537705_0.jpg)














