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
For each of the following functions/operators and the given types of inputs, what will be the...
For each of the following functions/operators and the given types of inputs, what will be the type of the returned value? If you think this will always cause an error, just write "error". If you think this will sometimes cause an error, explain when it will cause an error. Note: the examples to be analyzed for Task G contain both functions and value types that are passed to those functions. e.g. if a line contains: aaa(bbb) by looking at its...
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...
What is wrong with the following function: public static void funMethod() { int i=100; while (i...
What is wrong with the following function: public static void funMethod() { int i=100; while (i < 10) { System.out.println("i="+i); i++; } } Select one: a. loop control variable not declared b. loop control variable is never updated c. loop control variable not initialized d. loop control variable never resolves to true e. nothing is wrong with this code. What is wrong with the following function: public static void funMethod() { int i=1; while (i < 10) { System.out.println("i="+i); i++;...
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...
I need to add two trivial functions to the following code. I am having an issue...
I need to add two trivial functions to the following code. I am having an issue with what i may need to change in the current code to meet the requirements. I am already displaying the bank record but now using a function Here are some examples of what i can add to the code 1. Obtain opening (current) balance. 2. Obtain number the number of deposits. 3. Obtain number of withdrawals. 4. Obtain deposit amounts. 5. Obtain withdrawal amounts....
What is wrong with the following function: public static void funMethod() { int i=1; while (i...
What is wrong with the following function: public static void funMethod() { int i=1; while (i < 10) { System.out.println("i="+i); i++; } } Select one: a. nothing is wrong with this code. b. loop control variable not initialized c. loop control variable is never updated d. loop control variable not declared e. loop control variable never resolves to true
Java program question! If I pass null to a method, how can I use the passed...
Java program question! If I pass null to a method, how can I use the passed value to compare. Here is example code, it might be wrong, please make it could run on eclipse. Public class hw{ public static void main (String args[]) { method1(); } private static void method1() { System.out.println(method(null)); } public static String method(int[] a) { return null; } What I want to get in the output is just "()". It is not just to type the...