Search:

Type: Posts; User: mia_tech

Search: Search took 0.07 seconds.

  1. Re: can anyone think of a more efficient way of doing this...

    yes, it gives correct result... now both statement are not always true, depending on the total of credits "totalCred"... have you try it?
  2. Re: can anyone think of a more efficient way of doing this...

    like this? or could be better?


    public static void numOfClasses(int totalCred)
    {
    int numOfClass = 0;

    if(totalCred >= 3)
    {
    numOfClass =...
  3. can anyone think of a more efficient way of doing this...

    guys, this code calculate the amount of classes that a student needs to take lets say for 17 credits. It will be 5 three credits classes and 2 one credit classes, but I think the loop is kind of...
Results 1 to 3 of 3