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: Write a program of multipication using inline function
class Multiply
{
int x,y;
public:
void getdata();
inline calculate(int a,int b)
return(a*b);
}
void display();
};
void Multiply::getdata()
cout<<"Enter the two numbers"< cin>>x>>y; } void Multiply::display() { cout<<"Multiplication of "< cout< } int main() { clrscr(); Multiply m; m.getdata(); m.display(); getch(); } Output: Enter the two numbers 6 5 Multiplication of 6 and 5=30
cin>>x>>y;
void Multiply::display()
cout<<"Multiplication of "< cout< } int main() { clrscr(); Multiply m; m.getdata(); m.display(); getch(); } Output: Enter the two numbers 6 5 Multiplication of 6 and 5=30
cout< } int main() { clrscr(); Multiply m; m.getdata(); m.display(); getch(); } Output: Enter the two numbers 6 5 Multiplication of 6 and 5=30
int main()
clrscr();
Multiply m;
m.getdata();
m.display();
getch();
Output:
Enter the two numbers
6 5
Multiplication of 6 and 5=30
What do you mean by a sequential access file? - When writing programs which store and retrieve data in a file, it's possible to designate that file into various forms. - A s
Explain procedural logic A procedure, or function, was explained as a set of specific instructions implemented in sequential manner. The data is kept separate from the procedur
Program is to replace every occurrence of in a string: Program is to replace every occurrence of c1 in string with c2 and have function return the no. of replacement int re
I am doing project on home stay which includes features like add homestay,search,book,delete homestay,
# include stdio.h> # include string.h> # include conio.h> void main() { int i=0,count=0; char a[100],b; clrscr();
I need Decompile Library(.DLL or .SO) into source code Project Description: I am seeking an experienced programmer or anyone who knows a thing or two about reverse engineerin
Explain the Bit Wise Operators? C language has distinction of supporting special operators recognized as bit wise operators for manipulation of data at bit level. These operato
Define Functions with arguments and return values? The earlier category functions receive values from the calling function through arguments but do not send back any value rath
Described the ISA and HASA class relationships. How would you apply each in a class design? A: A specialized class "is" specialization of another class and, thus, has the ISA re
Write a program of constructors and destructors Make a class drugs having encapsulated data for medicine name, whether solid or liquid, price and purpose of use. From this clas
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