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);
i want write visuaL c++ FOR MY ALGORITHM
Call by Reference Passing variables(parameters) to a function in C can be done in two ways - pass by value, also called as call by value and pass by address or also known as ca
/* THIS PROGRAM IS TO ASK USER TO INPUT TWO DATE & PRODUCE A NEW DATE */ #include #include struct date { int dd; int yy; int mm; }; date add(date d1,date d2) {
Define the Stream Oriented Data Files? There are two dissimilar types of data files called stream-oriented (or standard) data files and system-oriented (or low-level) data file
overloadstream insertion opertator to display the data of object on the console
replace character into string and return value of string that are replaced
draw the flow chart to print the fibonacci series upto n th terms
Explain some String Oriented Library Functions? To make simpler string processing we can use special string oriented library functions. Mainly the C compilers include library f
C program to demonstrate call by reference: void disp(int *,int*,int*,int*); void main() { int a=2,b=3, sum,mul; printf("Enter 1st n
how yo use the friend function?
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