<< Prev Showing: 56-60 of 101 Next >>
· 31-35 · 36-40 · 41-45 · 46-50 · 51-55 · 56-60 · 61-65 · 66-70 · 71-75 · 76-80 · 81-85 ·Need help with Algorithm to determine if an Array contains Unique ElementsEnter
I need to determine if my array is unique and in ascending order. I've got the ascending order part figured out but am not sure that I'm doing the unique part correctly. Could you check my pseudocode to see if I have it right? I not, please give me direction on how to do this. Enter Read N SUB = 0 VALID_TABLE = ‘Yes’ UNIQUE_TABLE = ‘Yes’ DOWHILE SUB <= N SUB = SUB + 1 Read A(SUB) IF A(SUB-1) > A(SUB) THEN VALID_TABLE = ‘No’ ELSE IF A(SUB) = A(SUB+1) THEN UNIQUE_TABLE = ‘No’ (ELSE) ENDIF ENDIF ENDDO Return
Subject:
Computer Science
Topic:
Software Design and Architecture
Posting ID:
141315
OTA ID:
105746
OO Design - Modification of Class
I need to modify the PerimeterCalc class so that a caller who has a square plot will be able to provide only one argument value for length and width (rather than two that are just the same) in the method invokation. I'm pretty sure I need to add another constructor but then what about the compute part? Class PerimeterCalc private PlotNumber private Length private Width private Perimeter public PerimeterCalc PlotNumber = “None” Length = 0.0 Width = 0.0 Perimeter = 0.0 End public PerimeterCalc (AnyPlot, AnyLength, AnyWidth) PlotNumber = AnyPlot Length = AnyLength Width = AnyWidth Perimeter = 0.0 End public GetMeasurements Input Plot... click for more
Subject:
Computer Science
Topic:
Software Design and Architecture
Posting ID:
141880
OTA ID:
103987
Airlines Information Management Systems-Requirement for Case Diagrams
I require assistance in finalizing the requirements model for the Airlines Information Management System (AIMS) project. The requirements model need to include use UML case diagrams for the entire AIM system. This includes all three sub-systems: bookings, fleet management and employee management. I also require assistance in having use case descriptions of at least four significant use cases (e.g., bookings, employee management or fleet management).
Subject:
Computer Science
Topic:
Software Design and Architecture
Posting ID:
142604
OTA ID:
105821
GIVEN THE CODE IN THE ATTACHMENT, develop a test program called CoinCounterTest to test the CoinCounter class. In the test program do the following: 1. Write client code (in the CoinCounterTest.java file) to create a CoinCounter object called counter. 2. Write client code to call the print method of counter. 3. Write client code to deposit 7 quarters, 3 dimes, 10 nickels, and 17 pennies in counter. Output the new status of counter using the toString method. 4. Write client code to put the value of the coins deposited so far into a double variable called totalValue. Then print totalValue with an identifying label. 5. Write client code to deposit an additional 11... click for more
Subject:
Computer Science
Topic:
Software Design and Architecture
Posting ID:
145142
OTA ID:
103987
Need help with functions in C and C++
Problem: Write a C function that includes the following sequences of statements: x = 21; int x; x =42; Run program and explain the results. Rewrite the same code in C++ and Java. I understand Java: Looks like this; Java: public int myMethod(int x) { x = 21; x = 42; return x; } It will return a value of 42 at the point of call, because the first value of 21 in x gets overwritten by the new value 42 Need help with C and C++ please.
Subject:
Computer Science
Topic:
Software Design and Architecture
Posting ID:
146016
OTA ID:
102833
<< Prev Showing: 56-60 of 101 Next >>
· 1-5 · 6-10 · 11-15 · 16-20 · 21-25 · 26-30 · 31-35 · 36-40 · 41-45 · 46-50 · 51-55 · 56-60 · 61-65 · 66-70 · 71-75 · 76-80 · 81-85 · 86-90 · 91-95 · 96-100 · 101-101 ·Page generated in 0.0132 seconds