well, when I printed it, it gave me the right answer I was looking for lol. It found the largest number I was looking for.
Do you guys know a good website with actual problems to practice? Like...
Type: Posts; User: willc86
well, when I printed it, it gave me the right answer I was looking for lol. It found the largest number I was looking for.
Do you guys know a good website with actual problems to practice? Like...
yeah thats what I meant lol. I just wrote it quick without more details, but thats what I meant; that C[0] is ini. maxC to whatever the first element is in the array such as
int []A = {1,2,3,4,5};...
so, int maxC = C[0] is initializing the first element in the array?
ok I'll read that. if I have any questions ill let you know.
I am just curious what does int maxC = C[0]; mean. Why do I put C[0]; instead of int maxC = 0;
heres the code
public static void main...........
int []C = {2,4,543,2};
int maxC =...
This is the work
- From the main method call a method named sumOfDigits(), without passing any parameters
- Create a method named sumOfDigits()
- In the sumOfDigits() method declare the...
Ive been replying to this post thread all along. I am not writing anywhere else, so dont know what you are talking about
wait huh?I am sorry =( I don't get it. So, I put System.out.myName ??
HI i am a bit new to java and I am not sure about methods. I was hoping if someone can give me an example
this is what its asking
Variable Name Variable Contents
...
Anyone? Or a clue at least lol
Hi I am trying to do the first step
I am not sure exactly how to start a method on something that accepts and accumulates daily contributions.
this is part of the assignment -
urgh cant figure it out for the first step.
what or what do i use for the method to get total contribution this is what i have what clue or maybe an example?
public class SchoolContribution
{...
thank you =) let me give it a shot
if it helps this is the link for class note java 1
COP2250 - Java Programming
hi i have an assignment but I am way ahead in class, so i usually jump ahead but I am not sure what I going to be doing here
this is the assignment. I tried looking in my notes, but cant manage to...