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 to calculate tax:
float tax (float) ;
int main()
{
float purchase, tax_amt, total;
cout << "\nAmount of purchase: ";
cin >> purchase;
tax_amt = tax(purchase);
total = purchase + tax_amt;
cout.precision(2);
cout << "\nPurchase is: " << purchase;
cout << "\nTax: " << tax_amt;
cout << "\nTotal: " << total;
return 0;
}
float tax (float amount)
float rate = 0.065;
return(amount * rate);
aj is a newbie to the programming and while learning the programming language he came to know the following rules: - Each program must start with ''{'' and end with ''}''.
Explain protected, public, private in C++? These are three access spaecifiers in C++. - Public - Here data members and functions are accessible outside the class. - Pr
Explain the Working of strcpy Function? strcpy() : This function is meant to use to copy one string to another. The strcpy function as well accepts two strings as arguments.
It is a pointer accessible only in the member functions of a struct, class or union type. It points to the object for which the member function is called. Static member functions d
a program to find the area under curve y=f(x) between x=a and x=b,integrate y=f(x) between the limits of a and b. #include float start_point, /* G
limitation of function
write a function named "fact"that takes one integer arguments,call them "num" and returns as ..............
it is a class enclosed in the scope of another class. For illustration: // Example: Nested class // class OuterClass { class NestedClass { // ... }; // .
Additional keywords in C++ Class friend virtual inline private public protected const this new delete operator The actual use and expl
Need help with C network program
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