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

A company wants you to write a C++ program to maintain the contact details of its employees. Employee has a name, email, phone number, education, address, office phone extension, room number. The number of employees in the company are 21 but the program should be scalable to handle more employees. The company admin will use this system and he should be able to add, update, delete, search, print individual employee record and to print list of all employees.

Your task is to tell me that how would you do that, by using algorithm (psedocode or flow chart).

 

Write a C++ Program that:

·        Declares a 3x3 array.

·        Input complete array from user.

·        Print it’s diagonal.



What are the output of the program given below?



Program 1


#include <iostream>


using namespace std;


int main(){


int width = 10;


int height = 15;


double wide;


cout<<"PROGRAMME TO CALCULATE WIDE FOR TRIANGLE\n";


cout<<"##############################\n";


wide=0.5*height*width;


cout<<"\nWIDE: "<<wide<<"\n";


cout<<"\n##############################################\n";


return 0;


}



Program 2


#include <iostream>


using namespace std;


int main()


{


int x = 180, y = 200;


y = ++x;


cout << " x : " << x << endl << " y : " << y << endl;


}

Try to write pseudocode and create a flowchart for a program that calculates the average of three grades and prints the average.


The word GOOD should be printed only if the average is more than 80.


Write a programme to demonstrate Hybrid Inheritance with some real examples. Also mention the possible ways of removing ambiguity in this Inheritance.




What is the application of Function overloading and Function Overriding? How do we achieve this? Write programme to demonstrate the use of both features.




A person registers in an e-commerce shopping-based application and adds an initial amount. The username, email, contact number, and balance of the person are generated. The person can deposit money later also as per need into the account, this will modify the existing amount balance through a function.



The person can buy items. The item(s) has its name and price. The person can enter the quantities of items. During purchasing items from the application, it should be checked if the billed amount is available in the account. The person can also close the account, the available amount will be paid out.



Write a programme to demonstrate the above situation for a user with the use of Constructor and Destructor and Inheritance.




There is an Admission class that assigns the admission id and registration number to the Student. The student’s general information i.e. name, email, and contact number is initialized through another class. The student's result is controlled by another class that returns the student's cgpa based on his/her score in all tgpa’s.


Create 5 objects of students, input and display their name, registration number, section, cgpa using any possible type of Inheritance.



To complete this assessment, you will finish the definitions of the three classes date, homework, andhomeworklist. Your implementation of the methods for each class should be placed in implementation files named date.cpphomework.cpp, and homeworklist.cpp, respectively.


A palindrome is a string that reads the same forwards as backwards. Using

only a fixed number of stacks and queues, the stack and queue ADT functions, and a fixed

number of int and char variables, write a code to determine if a string is a palindrome. Assume that the string is read from standard input one character at a time. The code should output true or false as appropriate.


LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS