Yes it's solved. It's supposed to be like this
Your a big help. Thanks. Now it's on to the next.... After a good nights sleep.
Type: Posts; User: einar123
Yes it's solved. It's supposed to be like this
Your a big help. Thanks. Now it's on to the next.... After a good nights sleep.
Only one error left that has been with me all the time.
N is just some number or numbers, proferable N>0.
I have to sqare the distance and print it out.
GregBrannon are you online like 24h?)...
I'm taking a course. Apparantly my professor only wants to see that I can apply the formula. Which I have done. But I wonted the code to work.
public class Euclediand{
public static...
I think I'll trash it and start over..
Ok. Hopefully this works.
Line 24 is the System.out.print....last line.
public class Ed{
public static void main(String[] args)
{
How do I work out that identifier problem and how should I use System.out.print differently?
public class Ed{
public static void main(String[] args)
{
int N =...
Men.....hahahah you are killing me. I don't get it!
Now I'm trying to simplify this. I don't know how to call a method outside of main.
public class Verkefni143
{
public static void main(String[] args)
{
int N = Integer.parseInt(args[0]);...
Now I got this:
public class Ed{
public static int main(String[] args)
{
int N = Integer.parseInt(args[0]);
Where? inside the loop? ...it seems to be a bigger problem... Now I've got an illegal start of expression
Hi
I'm trying to write a program that calculates the the length of two vectors of length N that are represented with one dimensional arrays and compute the Euclidean distance between them.
Any...