The compiler said so but now I know why. i forgot a ; and ().
minor problem :)
Type: Posts; User: kenamine
The compiler said so but now I know why. i forgot a ; and ().
minor problem :)
So this is the question:
Write a class named GasTank containing:
An instance variable named amount of type double, initialized to 0.
An instance variable named capacity of type double.
A...
nvm I got it now!
import java.util.Scanner;
public class Matrix {
public static void main(String[] args) {
Scanner input = new Scanner(System.in);
double[][] matrix = new double[3][4];
I get http://i46.tinypic.com/302w86o.png
http://i49.tinypic.com/9hs9j7.png
import java.util.Scanner;
public class Matrix {
public static void main(String[] args) {
how would you Write a method that returns the sum of all the elements in a specified column in a matrix using the following header:
public stat double sumColumn(double[][] m, int columnIndex
My assignment is to
Write a method that returns the sum of all the elements in a specified column in a matrix using the following header:
public stat double sumColumn(double[][] m, int...
Hey everyone, my name is Kenneth but you guys can call me Kenny or Kenamine. How you guys doing! :cool: