Programming & Computer Science Answers

C++ 9913
Python 5288
Java | JSP | JSF 3611
C 1680
C# 1362
Computer Networks 989
Algorithms 652
Databases | SQL | Oracle | MS Access 641
HTML/JavaScript Web Application 588
Other 537
Visual Basic 358
Assembler 209
Software Engineering 202
AJAX | JavaScript | HTML | PHP 166
MatLAB 150
MatLAB | Mathematica | MathCAD | Maple 124
Action Script | Flash | Flex | ColdFusion 112
UNIX/Linux Programming 89
Web Development 73
Excel 36
ASP | ASP.NET 23
Delphi | Pascal 21
Perl 16
Prolog 9
Functional Programming 9
MathCAD 5
Wolfram Mathematica 4
WPF 4
Ruby | Ruby on Rails 3
NodeJS Web Application 2

Questions answered by Experts: 26 876

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Search

Write a c++ program to request the student registration number, the student name, the course and the age, and display them all to the user


Write a c++ program to accept a two numbers from the user multiply the two numbers and display the results to the user


Write a program in C++ to print a number entered by the user


Suppose there is XYZ Company and there are different departments like production,
marketing, finance, sales etc. Manager of the company want to know about the detail of the employees who are highly paid in each of the department. Write a program using the concept of
classes to implement the same.

Explain the working of the following code perform rough work .

    myList *head,*cur,*previous=NULL;

    for(int i=0;i<4;i++)

        head=new myList;

        head->data=0;

        head->next=previous;

        for(cur=previous;cur!=NULL;cur=cur->next)

            head->data+=1+2*cur->data;

        previous=head;

    while(previous!=NULL)

        cout<<previous->data<<endl;

        cur=previous;

        previous=previous->next;

        delete cur;

  


Write a simulation java program for the fruit market. The farmer will be able to

produce different types of fruits (apple, orange, grape, and watermelon), and

put them in the market to sell. The market has limited capacity and farmers

have to stand in a queue if the capacity is exceeded to sell their fruits.

Consumers can come to the market any time and purchase their desired fruits;

and if the fruits they want to buy runs out, they are willing to wait until the

supply of that kind is ready. (Hint: implementing this market will encounter

the producer and consumer problem, and it probably needs multiple buffers

for different kinds of fruits).

Write a function in C++ to insert a circular Queue containing

Players information (represented with the help of array of structure PLAYER).

Consider following definition of Node

struct PLAYER

{

int PID;

char Pname[20];

NODE* Next;

};


Write a Java program to implement the Library Information System using
packages with the following instructions
a) Create a Books class in pkg1.
b) Create an Admin class in pkg2.
c) Create a User class in pkg3.
d) Import all packages in Test class and do the following operations in a menu-driven
fashion. Add books, Search books, and List books.
Develop an application in Java for automating the Banking Operations using interfaces.
Create an interface called “Transaction” which contains the functions such as deposit,
withdraw, and viewBalance. Create another interface called “Displayable” which
contains the Display () function to display the account details.
Create an abstract class called “Account” with bank account details such as acc_name,
acc_no, and balance. Add necessary constructors.
Create a “Bank” class which implements the “Transaction”, “Displayable” interfaces
and inherits “Account” class.
Perform menu driven operations like Deposit, Withdraw and Balance Enquiry, View
Account Details from a Main class. Write logics in the corresponding methods.

3. A method to calculate overtime pay. This method should be called from calculatePay if and when

required.

public static double calculateOverTimePay(int OverTimeHours, double

basePay)


4. A method to display information

public static void displayInfo(String empName, int workingHours, double

totalPay)


LATEST TUTORIALS
APPROVED BY CLIENTS