Questions: 11 448

Answers by our Experts: 10 707

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 & Filtering

Create a class of subtraction having two private data members. Create class methods
to get data from users and for subtraction of data members. Use appropriate access
modifiers for class methods.

Your root document should consist of a random number of lines of the nursery rhyme"Hickory Dickory Dock", the official lyrics are listed below. You should serve the document as plain text(to keep things simple).You reply must include a correct Content-Type header of text/plain and a content-Length header that reflects the size of the data that you are sending.When generating random numbers the rand(>and srand(>methods are sufficient, but be careful where you seed the random number generator.


You may use the last 4 digits of your student number as the port to listen on, as you may not be able to bind to port 80



Write a program that creates the following functions
1)function to implement avl tree
2)function to insert data in avl tree
3)function to Delete data from avl tree
4)function that searches data from the avl if its present or not
5)a display function

Note:
No global declarations
1)Call the functions in main using menu
2)Implement default, copy and parameterized constructor
3)Implement destructor

Distributed systems and Programming: TCP_vsipmServer.c

Compile with: cc TCP_vsipmServer.c −o lec3_server

A simple concurrent connection orientated server.

Will work with telnet as a client.



Program that will simulate the Paper, Rock, Scissors game. Two players should be able to either P, R or S then the program shall determine who the winner is and state why he wins based on the following criteria


Paper covers Rock

Scissor cut paper

Rock breaks scissors



***Sample Output***

PAPER ROCK SCISSORS GAME

Player 1: P Player 2: S


Player 2 wins. Scissors cut Paper



please use ,

#include<stdio.h>

#include<conio.h>


scanf:

printf


a) Select the most suitable type of input device(s) to perform the following functions: (6 marks)

(i)entry of an application for a loan, received on a paper form, into an operational system for processing 

loan applications;

(ii) entry of details of a house for entry into a system for estate agents;

(iii) a field map from a geologist’s survey into a mapping system.

b) Select the most suitable type of printer for the following applications: (6 marks)

(i)a student on a business course with a limited budget;

(ii) a shared workgroup printer for 10 people;

(iii) Printing duplicate copies of invoices.

c) Select the most suitable type of storage device (with numerical specifications) to perform the following

functions: (8 marks)

(i)a backup device for a student working on their dissertation;

(ii) a backup device for a designer transferring large files between their home and work offices;

(iii) a graphic designer who requires large graphics to be held in memory;

(iv) to store Web pages


Write a C++ program to sum the values in the file with respect to the input of the user. The file contains a set of numerical inputs. Read all the inputs from the file and calculate the sum of odd and even numbers based on the choice of the user.


Sample Format of the file.txt file,

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15


Constraints:

Find the sum of odd numbers if the choice is 1.

Find the sum of even numbers if the choice is 2.


Get the choice from the console and display the output in the console.


Input Format:

Read an integer(choice) as an input from the console. 

To sum value from the file, read the content as input from the file (file.txt)



Sample Input and Output 1 :

Enter the choice

1.Odd

2.Even

1

The total of all numbers is 64


Create a class MusicalInstruments which contains methods void play(), String getDescription(),float getPrice().play() need not be given a definition in MusicalInstrument. Derive classes StringInstr and Percurssion from MusicalInstruments. StringInstr contains method, int getNoOfStrings(). Percurssion contains method, String getType(). Create class Violin that inherits from StringInstr. Create class Tabla that inherits from Percurssion.

Write main() to test the classes and to illustrate run-time polymorphism.

In main() create an object of Tabla with appropriate data values and print it.


you have a musical friend ? , If no then sorry you cannot join . If yes , then what instrument you can play , if it is drum or guitar then welcome to the band if none than ,sorry

You cannot join the band .


use string and bool in programming


Create a class MusicalInstruments which contains methods void play(), String getDescription(),float getPrice().play() need not be given a definition in MusicalInstrument. Derive classes StringInstr and Percurssion from MusicalInstruments. StringInstr contains method, int getNoOfStrings(). Percurssion contains method, String getType(). Create class Violin that inherits from StringInstr. Create class Tabla that inherits from Percurssion.

Write main() to test the classes and to illustrate run-time polymorphism.

In main() create an object of Tabla with appropriate data values and print it.


LATEST TUTORIALS
APPROVED BY CLIENTS