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

Write a class teacher that contains the attribute teacher name, age and address. It also contains member function to input and display its attribute. Write another class Author Write another class Writer that contains the attributes writer name, address and number of books written by him. It also contains member function to input and display its attributes. Write a third class Scholar that inherits both Teacher and Writer classes.


In python: For a string s, and a character as input, create a function that will print each character of s but when the character input appears in the string add an asterisk beside the matching character. Each time the letter appears add an extra asterisk.

make this a function and use for i in range()


Sport Management project inheritance


You’re interviewing for your dream job at an ecological ethical tech company with healthy snacks. You already passed 28 stages of interviews, and your final interviewer asks you to design a binary search tree data structure that performs INSERT operations in O( √ log n) time using a comparison-based algorithm. Design such a data structure or prove that this is impossible.


Interleave Strings

Given two strings, write a program to merge the given two strings by adding characters in alternating order, starting with the first string. If a string is longer than the other, append the additional characters onto the end of the merged string.Input


The first line of input will contain a string.

The second line of input will contain a string.

The strings may contain special characters, digits and letters.Output


The output should be the merged stringExplanation


For example, if the given strings are "abc" and "pqrs", then alternating characters from each string are merged as "a" from "abc", "p" from "pqr", "b" from "abc" and so on ..., resulting in the merged string "apbqcr".



input:

5

0 -2

3 6

4 7

1 -3


expected output : 7x^4 + 6x^3 - x^2 - 3x - 2

your output: 7x^4 + 6x^3 - 1x^2 - 3x - 2


for this code this is the error

and i am using python 3.9



Implement the following hierarchy.


· Make Shape, TwoDimensionalShape, and ThreeDimensionalShape as abstract class


· Add virtual functions of calculateArea() and perimeter() in TwoDimensionalShape.


· Implement the above functions in child classes Circle, Square , Triangle. Take help from Google to find the formulas.


· add virtual functions of calculateSurfaceArea() and calculateVolume() in ThreeDimensionalShape


Implement all functions in child classes Sphere, cube, and tetrahedron.


Given polynomial, write a program that prints polynomial in Cix^Pi + Ci-1x^Pi-1 + .... + C1x + C0 format.


input : 5

0 2

1 3

2 1

4 7


expected output : 7x^4 + 6x^3 - x^2 - 3x - 2
    your output:  7x^4 + 6x^3 - 1x^2 - 3x - 2


please explain this why this is again show error

i am using python 3.9 version




now for this code this is the error throwing: please kindly rectify it as soon as possible



Errors/Warnings:

Traceback (most recent call last):

 File "main.py", line 18, in <module>

  print(sec_msg(input(),key))

EOFError: EOF when reading a line



Write a C++ program to enter the record of a student and print on the display screen by using the multiple inheritance.


LATEST TUTORIALS
APPROVED BY CLIENTS