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 named ‘CalculateArea’ to calculate the area of three different diagrams i.e. Rectangle, Triangle and a Square using function overloading.

First prompt the user to select the diagram for which he wants the area:

Press 1 for Rectangle

Press 2 for Triangle

Press 3 for Square

After the selected option, call the respective function of the selected diagram and print the area.

Area of rectangle: length*width;

Area of triangle: ½(base*height);

Area of square: (length)2



Write a program that creates a class called student. The data members of the class are name and age.

·      Create a nullary constructor and initialize the class object.

·      Create a parameterized constructor that can set the values being passed from the main function.

·      Create a display function called showall( ) which will be used to show values that have been set.

Use the default copy constructor to show that copying of simple objects can be accomplished through the use of the default copy constructor.


Write a Python program that accepts a string and calculate thenumber of digits and letters


Sample Data : Python 3.9


Expected Output :


Letters 6


Digits 2

Write a Python program to convert temperatures to and from celsius, fahrenheit.

[ Formula : c/5 = f-32/9 [ where c = temperature in celsius and f = temperature in fahrenheit ]

Expected


Output :

60°C is 140 in Fahrenheit

45°F is 7 in Celsius


Get the input from the user for the number of rows and columns.


Print 0 in the row one.


Print 1 in the row two.


Case= Test 1

input=

5

5



output=

00000

11111

00000

11111

00000


Design notepad using swing controls.it should contain all options with their shortcut keys


Create a program which displays a menu “Menu” having menu items “First” & “Second”. When we click menu item “First”, it displays a dialog box with a Button “Hello”. When “Hello” button is clicked, it displays “Hello World”


Create a frame which include list and in this list section print table of any number and if user click exit the application get closed. 


Write a C++ program to enter salary and output income tax and net salary using multiple inheritance concept.

Note: You must use concept of circular array of at least size 10 to implement queue.


A queue is an object that allows the following operations:


 Enqueue: Add an element to the end of the queue


 Dequeue: Remove an element from the front of the queue


 IsEmpty: Check if the queue is empty


 IsFull: Check if the queue is full


 Peek: Get the value of the front of the queue without removing it.


Create a class to define above mention operations of a queue and a main function to implement operations.


Note: You must use concept of circular array of at least size 10 to implement queue.

LATEST TUTORIALS
APPROVED BY CLIENTS