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 to write
Ask queCreate an object oriented application with C# that computes the area of a rectangle, and the area and the volume of a cuboid. Based on the inheritance concept, create a bas
YOU HAVE GIVEN THE MARKED UP PRICE OF 80% AND DISCOUNT PRICE OF 10% THEN FIND THE SELLING PRICE
Program for Hangman Problem #include #include #include #include #include static void playGame(); static void printMistakes(int n); st
The car’s measurements are illustrated, using two arrays. Array 1 = {L, R, L, R, R, L, R, R, L, R, R, L, R, L, L, R, Z}
Question 1 Write a program in ‘C' to check whether a given number is even or odd Question 2 Explain while and do... while loop with an example Question 3 Write a program
Depreciation to a salvage value of 0. For tax purposes an item may be depreciated over a period of several years, n. With the straight line method of depreciati
Talking to IO boards inside a computer or microcontroller depends upon the principles used by the microprocessor to address physical devices. On Motorola systems all devices connec
Program is to check whether the string entered is a palindrome or not: Program is to check whether the string entered is a palindrome or not invoke function from main int p
Define the Logical Operators in c language? The Logical operators deals with the ways the relationships are able to connected. C has the following three logical operators
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: +1-415-670-9521
Phone: +1-415-670-9521
Email: [email protected]
All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd