Already have an account? Get multiple benefits of using own account!
Login in your account..!
Remember me
Don't have an account? Create your account in less than a minutes,
Forgot password? how can I recover my password now!
Enter right registered email to receive password!
Program is to find the area of room:
Program is to find the area of room with default values using classes & object
class room
{
private:
int len;
int wid;
int hei;
public:
int ar;
// function definitions
void assign()
len=20;
wid=30;
hei=40;
}
void area()
ar=2*(len*wid+wid*hei+hei*len);
void disp()
cout<<" length "< cout<<" breadth "< cout<<" height "< cout<<" area "< } }; void main() { clrscr(); room area1; area1.assign(); area1.area(); area1.disp(); }
cout<<" breadth "< cout<<" height "< cout<<" area "< } }; void main() { clrscr(); room area1; area1.assign(); area1.area(); area1.disp(); }
cout<<" height "< cout<<" area "< } }; void main() { clrscr(); room area1; area1.assign(); area1.area(); area1.disp(); }
cout<<" area "< } }; void main() { clrscr(); room area1; area1.assign(); area1.area(); area1.disp(); }
};
void main()
clrscr();
room area1;
area1.assign();
area1.area();
area1.disp();
how do i write a c++ program that will input a number and output its factorial using the while loop
Program is to find the maximum from two numbers: Program is to find the maximum from two numbers entered by the user having pointer variable as parameter void main() {
# include stdio.h> # include conio.h> # include math.h> void main () { int a=1,sqr=0,cube=0; clrscr (); while (a { sqr=pow(a,2); cube=pow(a,3);
Friend for Overloading Operators Sometimes friend functions cannot be avoided. For example with the operator overloading. Consider the following class that have data members to
Sir i want to know all the basic knowledge of turbo c.
Hey vrcoder I have got similar way but the game builder has sent me the game unfinished and left. I saw it on a link on line but they have wiped the old message with the link in it
how to write code for z transformer
Floating literal They can be written in common decimal as well as scientific notation (floating point representation). By default it is of type double. F, L is applied only to
A: No. While realloc() need to copy the allocation, this uses a bitwise copy operation, that will tear several C++ objects to shreds. C++ objects must be allowed to copy t
luminous jewel polishing necklace,c/c++ programming
Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!
whatsapp: +91-977-207-8620
Phone: +91-977-207-8620
Email: [email protected]
All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd