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!
Aim: To implement program to calculate area of cube using inline function.
Code:
inline void area_cube(float side)
{
float area;
area=6*side*side;
cout<<"\nArea of cube with side "< } void main() { int side; clrscr(); cout<<"Program to calculate area of Cube:"; cout<<"\n Enter side of cube:"; cin>>side; area_cube(side); getch(); } Output: Program to calculate area of Cube: Enter side of cube:7 Area of cube with side 7 cm is 294 cm²
}
void main()
int side;
clrscr();
cout<<"Program to calculate area of Cube:";
cout<<"\n Enter side of cube:";
cin>>side;
area_cube(side);
getch();
Output:
Program to calculate area of Cube:
Enter side of cube:7
Area of cube with side 7 cm is 294 cm²
#questionHi, I am looking for help with the assignment, can you help..
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
Write a C program to compute the factorial of 5 i.e. 1x2x3x4x5 etc Write a C program to calculate the output Y for a given value of X for the following formula. Y=X 2
Aim: To implement a program to display a rectangle, circle and triangle. Code: class shape { public: vir
Conversion Functions Conversion functions are member functions used for the following purposes: 1. Conversion of object to basic data type. 2. Conversion of basic data ty
how to make a program this struct items/product
write a program for convert numbers upto 9 to alphabet?Eg.now enter the inputis 666 means output is "0" lphabet
The Shortest Job Next (SJN) algorithm queues processes in a way that the ones that use the shortest CPU cycle will be selected for running rst. Shortest remaining time rst algori
Write a C++ program with header and source files to store street addresses using the Doubly Linked List ADT. Modify the Node class from Lab Assignment 3 so that it becomes a node i
you are to create a text adventure game that uses pointers. You have a rich, eccentric Uncle Billy who is soon to be deceased. How soon.....oops......he''s gone. He has left yo
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