Multiple inheritance causes Diamond problem which happens when:
Class A is parent of class B and C
Now when class D will be inherited from both Class B and C it will have all the members of class A and B which if same will confuse the compiler to import which one?
C++ solves it by using virtual keyword with them and thus telling the compiler which one to inherit.
Java has introduced the interface concept rather then allowing multiple inheritance.
Answer:
#include <iostream>
using namespace std;
int main()
{
float altitude;
cout<<"Enter alttitude in meter";
cin >>altitude;
if(altitude<0 || altitude > 50000)
{
cout<<"Invalid value entered";
return 0;
}
else{
if(altitude<= 10000)
{cout <<"In troposphere "<<endl;}
else if(altitude>10000 && altitude<=30000)
{cout <<"In lower stratosphere"<<endl;}
else if(altitude>30000 && altitude<=50000)
{cout <<"In upper stratosphere"<<endl;}
}
return 0;
}
Explanation:
Define a float type variable. Ask user to enter altitude in meters. Store value to altitude variable.
Now check if value entered is positive and less than 5000,if its not in the range of 0-50,000 display a termination message and exit else check if it's in less than 10000, in between 10000 and 30000 or in between 30000 and 50000.
10,000 is above sea level is troposphere.
10,000-30,000 is lower stratosphere.
30,000-50,000 is upper stratosphere.
Answer: 1820
Explanation:
I <u>believe</u> the answer is the 1820, as the introduction of steam powered printing presses and steam powered paper mills significantly lowered the cost of books to decrease and significantly increased their circulation/availability.
hope this helps
-lvr
Answer:
1. Art director: selecting color palettes.
2. Web project manager: creating budget spreadsheets.
3. Usability lead: researching target audiences.
4. Developer: coding.
Explanation:
HTML is an acronym for hypertext markup language and it is a standard programming language which is used for designing, developing and creating web pages.
Generally, all HTML documents are divided into two (2) main parts; body and head. The head contains information such as version of HTML, title of a page, metadata, link to custom favicons and CSS etc. The body of the HTML document contains the contents or informations of a web page to be displayed.
The various role performed during the web development process (task) includes;
1. Art director: selecting color palettes. This individual is saddled with the responsibility of choosing the color that best fits a website.
2. Web project manager: creating budget spreadsheets. He or she is responsible for performing tasks such as creating a financial (budget) plan, start and finish date (timing), procurement, etc.
3. Usability lead: researching target audiences. This individual is saddled with the responsibility of surveying and collecting data from the demography for which the website is designed.
4. Developer: coding. This is the technical expert referred to as a web developer and is responsible for writing the set of instructions (codes) that enables the website to work properly and serve a purpose.
Answer:
what is the question
Explanation:
you didnt post a question