Question

float, void print_instructions, print_results What other functions can i use to replace this one, Ones that...

float, void print_instructions, print_results What other functions can i use to replace this one, Ones that are the same functions, but different name

Homework Answers

Answer #1

The other function with same function and different names can be:

instead of void print_instruction you can use void display_instructions

instead of print_results you can use displayresults

and there is no alternative for float it is a datatype which can be a return type for ny function

you can write any name of the function you want until and unless you follow the rules of naming a function like:

>the function ame must not begin with a number or + or - sign

>dont use keyword to name a function like main or new

>function name can begin with A-Z or a-z or $ or _  

Note:please give athumbs up if you like my answer and feel free to comment if you have any query

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
Check clearing and the use of float Float is defined as the difference between the balance...
Check clearing and the use of float Float is defined as the difference between the balance shown on the books and the balance in the bank account. A lag often occurs between the time receipts and disbursements are recorded on the company’s books and when the transactions clear the bank. Consider the following scenario: The difference between the balance shown on Destin Co.’s books and the balance shown on its bank statement is $40,000. What type of float does this...
7. Check clearing and the use of float Float is defined as the difference between the...
7. Check clearing and the use of float Float is defined as the difference between the balance shown on the books and the balance in the bank account. A lag often occurs between the time receipts and disbursements are recorded on the company’s books and when the transactions clear the bank. Consider the following scenario: Destin Industries received a $20,000 check from one of its customers, deposited it into its bank account, and recorded it in its bank register. The...
IN C++ format, Fill in the missing functions, using the concept of operator overloading. code: #include...
IN C++ format, Fill in the missing functions, using the concept of operator overloading. code: #include <string> #include <ostream> using namespace std; class Book { private:     string title;     string author;     unsigned isbn;     double price; public: /**Constructors*/    Book();    Book(string t, string a, unsigned i, double p);     /**Access Functions*/     string get_title();     string get_author();     unsigned get_isbn();     double get_price();     /**Manipulation Procedures*/    void set_title(string t);     void set_author(string a);     void set_isbn(unsigned...
No matter what I do I cannot get this code to compile. I am using Visual...
No matter what I do I cannot get this code to compile. I am using Visual Studio 2015. Please help me because I must be doing something wrong. Here is the code just get it to compile please. Please provide a screenshot of the compiled code because I keep getting responses with just code and it still has errors when I copy it into VS 2015: #include <iostream> #include <conio.h> #include <stdio.h> #include <vector> using namespace std; class addressbook {...
What is the difference between the NORM.DIST and the NORM.INV functions on Excel? Select one: One...
What is the difference between the NORM.DIST and the NORM.INV functions on Excel? Select one: One is used with z-scores and the other is used with actual data values One is used when you want the area to the left of a data value and the other is used when you want the area to the right of a data value One is used when you want to find a probability and the other is used when you want to...
Problem 1 ...... you can use Matlan i got one so all what i need is...
Problem 1 ...... you can use Matlan i got one so all what i need is 2, 3 and 4 one of them or all of them .. thanks The following Scilab code generates a 10-second “chirp” with discrete frequencies ranging from 0 to 0.2 with a sampling frequency of 8 kHz. clear; Fs = 8000; Nbits = 16; tMax = 10; N = Fs*tMax+1; f = linspace(0.0,0.2,N); x = zeros(f); phi = 0; for n=0:N-1 x(n+1) = 0.8*sin(phi); phi...
Show that increasing functions and decreasing functions are​ one-to-one. That​ is, show that for any x1...
Show that increasing functions and decreasing functions are​ one-to-one. That​ is, show that for any x1 and x2 in​ I, x2≠x1 implies ​fx2​)≠​f(x1​). If x2≠x1​, what can be concluded about x2 and x1​? A.It must be true that x2<x1 or x2>x1. B.It must be true that x2>x1. C.It must be true that x2<x1.
Please Use C++ I tried to calculate complex number by using *= and operator /= but...
Please Use C++ I tried to calculate complex number by using *= and operator /= but I got an incorrect result compared with the result of complex number calculator For example, When I calculate ( (c5 *= c4) *= c4) by using my operator function, the result was 1.08288e+06+1.11262e+07i on output, However, when using a complex calculator, the result was = −253987.448 − 355181.112i, so I got the wrong answer There is my code below. It compiles well, but my...
In addition to NAND and NOR, find four more two-input boolean functions that are each individually...
In addition to NAND and NOR, find four more two-input boolean functions that are each individually universal. Give a logic expression for each of your functions, using AND, OR, and NOT, and prove that each of these functions is individually universal, by showing for example that you can implement AND, OR, and NOT with your function. You may use the constant values zero and one as inputs to your universal functions to implement other functions. Name your functions f1, f2,...
I will be given an unknown in an organic chemistry lab. one solid and the other...
I will be given an unknown in an organic chemistry lab. one solid and the other is liquid and I have to identify what is the unknown. I can do IR on liquid unknown only, and the melting point on solid.I need to identify the functional groups I have in both unknowns on the first day how can I do that? I'm not sure where to start and how to go on?
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT