subject

Write a c++ class called rectangle which has length and width private data members and an area() method which returns the area of the rectangle. also implement an info( method, which prints out the length, width and area of the rectangle. your class must also have a constructor rectangle(double i, double w), which sets the length and width when a rectangle object is being created. q6. design a class called student that describes a dcu student. the class should have data members name, id number, programme (e. g. ece) and year (e. g. 2). add a suitable constructor and a display method

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 21:30
Write a function named printfloatrepresentation(float number) that will print the floating point representation of a number using the format given below. (sign bit) exponent in binary (assumed bit).significandfor example if the number passed an argument is 71 yourprogram should print (0) 10000101 (1).00011100000000000000000similarly if the number passed to the function as argument is -71 the program should print (1) 10000101 (1).00011100000000000000000
Answers: 3
question
Computers and Technology, 23.06.2019 00:00
How do we use the sumif formula (when dealing with different formats) ?
Answers: 1
question
Computers and Technology, 23.06.2019 12:20
When guido van rossum created python, he wanted to make a language that was more than other programming languages. a. code-based b. human-readable c. complex d. functional
Answers: 1
question
Computers and Technology, 24.06.2019 16:30
The database design steps are listed below in the incorrect order. choose the correct order number next to each step. determine the information to be stored in the database. determine the fields needed to record the data determine if there will be any repetition of data entered, and separate the fields into tables to normalize the data. create relationships to connect the tables.
Answers: 3
You know the right answer?
Write a c++ class called rectangle which has length and width private data members and an area() met...
Questions
question
English, 14.05.2021 20:30
question
Mathematics, 14.05.2021 20:30
question
Social Studies, 14.05.2021 20:30
question
Mathematics, 14.05.2021 20:30
Questions on the website: 13722363