No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Hi guys am trying to create a calender that can output the date in three multiple formats In the first case the constructor should receive three integer values. In the second case it should receive a String and two integer values. In the third case it should receive two integer … |
|
Hi I am trying to arrange the patients according to their condition that is Serious(S), Routine(R), Critical(C), and Expectant (E). I have the method but it is not implementing correctly as the program runs and builds successfully but it does not arrange them in that order any help would be … |
|
I am supposed to create a class patient that will sort the patients according to their condition that is Serious(S), Routine(R), Critical(C), and Expectant (E). Use a heap based Priority Queue. The data type stored should be objects of class Patient. Class Patient will require a compare method that takes … |
|
Hi I am supposed to modify class employee to implement interface Payable(another class) and declare method getPaymentAmount to invoke method earnings. Method getPaymentAmount would then be inherited by the subclasses in the Employee hierarchy. When getPaymentAmount is called for a particular subclass object, it polymorphically invokes the appropriate earnings method … |
|
Hey Guys, I am working on an assignment where we are supposed to output the date in different formats for example, month, date, year or date,month year, I have implemented a method to change for the arrangement of dates, It builds successfully but has errors when it runs plus it … |
|
Hi Am working on s shape inheritance hierarchy project where we are supposed to define 2d or 3d shapes then use a few examples e.g circles or spheres to calculate areas and volumes of the 2d and 3d shapes respectively. Everything is working fine it compiles and builds successfully but … |
|
Hi am working on a shape inheritance hierarchy and am having trouble with this particular class I have two errors that state class, interface, or enum expected: on the lines indicated in red everything else seems fine I have attached the whole project If you need to check out other … |
|
Hi I am supposed to create a program that prints out a rectangle made of asterisks using Turtle Graphics in Java I have attached a document describing the project. My code works fine and prints fine but the problem is I cant seem to get the right sequence to print … |
|
Hi am trying to create a random sentence generator for my Java Class the only issue is it builds successfully and rans fine but the output is not what is expected of the program. It should randomly generate 20 sentences. Here is my code [CODE]// Exercise 16.5 : Sentences.java // … |
|
Hi guys am creating a Binary Search Tree Program so far it works fine and everything but I am trying to arrange the random numbers generated after the in order transversal in ascending order here is my code [CODE] // C // This Binary Search Program inputs 25 Random workers … |
|
am trying to create a new class for a binary search program in c# I keep getting this compilation error [COLOR="Red"]A namespace cannot directly contain members such as fields or methods [/COLOR] here is my code [CODE]using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ConsoleApplication1{ // Create a new … |
|
I am creating a C# forms application, a gradebook in particular everything is fine except I keep getting this error : [COLOR="Red"]cannot convert type string into int[/COLOR] Here is my code [CODE] // Fig. 18.9: CreateFileForm.cs // Creating a sequential-access file. using System; using System.Windows.Forms; using System.IO; using GradeBook; public … |
|
Hi we are supposed to modify this class for my school project to create a code that will print out a rectangle made of asterisks * something like ********* * * * * * * * * * * ********* here is my code [CODE] // Exercise 7.21: TurtleGraphics.java // … |
|
I am trying to create a grade book form using the following class createfileform.cs I keep getting the following errors [COLOR="Red"]1:The name 'GetTextBoxValues' does not exist in the current context 2.Cannot implicitly convert type 'string' into 'int' [/COLOR] Here's My Code.[CODE] // Fig. 18.9: CreateFileForm.cs // Creating a sequential-access file. … |
|
Hi I am New to C# i Am trying to create a grade book form but I cannot build successfully because of the following error. [COLOR="Red"]The name 'InitializeComponent' does not exist in the current context [/COLOR] [code] // Fig. 19.7: GradeBook.cs // A reusable Windows Form for the examples in … |
|
Hi Am currently taking a Java class and we are supposed to use turtle graphics to draw the following shape rectange made of Asterix ************* * * * * * * * * * * * * * * ************* My program builds and compiles successfully but I cant get … |
|
Hi its me again, I have an error on the highlighted line below :Error 1 'BankLibrary.Record' does not contain a constructor that takes 4 arguments [CODE] // Fig. 19.8: Record.cs // Class that represents a data record. namespace BankLibrary { public class Record { // auto-implemented LastName property public string … |