The world’s Largest Sharp Brain Virtual Experts Marketplace Just a click Away
Levels Tought:
Elementary,Middle School,High School,College,University,PHD
| Teaching Since: | Jul 2017 |
| Last Sign in: | 314 Weeks Ago |
| Questions Answered: | 15833 |
| Tutorials Posted: | 15827 |
MBA,PHD, Juris Doctor
Strayer,Devery,Harvard University
Mar-1995 - Mar-2002
Manager Planning
WalMart
Mar-2001 - Feb-2009
NOTE: I would like if there was a screenshot of the workspace. I try but I keep ending up with code errors.
Â
int [] x = new int [10];
Â
int result=0;
int[] x = {10,20,30};
for (int i=0; i<x.length; i++) {
  result += x[i];
}
6. Allowing code finishes executing, the variable result has a value of _______. (numeric value)
Â
int v[] = new int[3];
for (int i=1; i<v.length; i++) {
  v[i] = v[i-1] + 1;
}Â
After the code executes the values in the array are _______, _______, _______. (numeric values)
----------- Â ----------- H-----------ell-----------o S-----------ir/-----------Mad-----------am ----------- Th-----------ank----------- yo-----------u f-----------or -----------you-----------r i-----------nte-----------res-----------t a-----------nd -----------buy-----------ing----------- my----------- po-----------ste-----------d s-----------olu-----------tio-----------n. -----------Ple-----------ase----------- pi-----------ng -----------me -----------on -----------cha-----------t I----------- am----------- on-----------lin-----------e o-----------r i-----------nbo-----------x m-----------e a----------- me-----------ssa-----------ge -----------I w-----------ill----------- be----------- qu-----------ick-----------ly