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 an array of size ten; assign one to all its positions one by one through loop, and show array elements one by one on screen with space.

5


4 5 4


3 4 5 4 3


2 3 4 5 4 3 2


1 2 3 4 5 4 3 2 1


2 3 4 5 4 3 2


3 4 5 4 3


4 5 4


5

bestSub = 0


highestSales = monthSales(0)


for month = 1 to 11


if monthSales(month) > highestSales


highestSales = monthSales(month)


bestSub = month


endif


next month


display "The best sales for the year was in ", monthName(bestSub)


display "The amount was R”, highestSales


display "The top salesperson for that month was ", nameBestSP(bestSub)

create a class named programming.while creating an object of the class if nothing is passed to it then the message i love programming languages should be printed if some string is passed to it then in place of programming language the name of that string


Consider a class Computer having Two fields (i.e. companyName, price) and A single

function named show()

A class named Desktop inherits Computer class and adds fields representing color,

monitor size, and processor type and Override function named show() to display values

of its all attributes

A class named Laptop inherits Computer class and adds fields representing color, size,

weight, and processor type and Override function named show() to display values of its

all attributes

In Main() instantiate objects of derived classes to access respective show() functions to

see the polymorphic behavior.


Write a c++ code for the output using loop



1



2 3



4 5 1



2 3 4 5



1 2 3 4 5

Task 1


Consider a class Computer having Two fields (i.e. companyName, price) and A single

function named show()

A class named Desktop inherits Computer class and adds fields representing color,

monitor size, and processor type and Override function named show() to display values

of its all attributes

A class named Laptop inherits Computer class and adds fields representing color, size,

weight, and processor type and Override function named show() to display values of its

all attributes

In Main() instantiate objects of derived classes to access respective show() functions to

see the polymorphic behavior.


write a program that input a series of 500 numbers in ID array later find and display the minimum values and maximum values and average of all numbers


Create a program of temperature conversion using basic program

Write a program that would print the information (name, year of joining, salary, address) of the employee by creating a class named employee.The output should be as fallow.




Name year of joining address




Robert 1994 64C- wallstreat




Sam 2000 68D- wallstreat




John 1999 26B- wallstreat

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS