A method is written with the header 'num' yourMethod(string name, num code). The method's type is <u>'num'.</u>
In the context of programming. a header refers to supplemental data placed at the beginning of a block of data being transmitted or stored. In the context of the Java method, the header is where you tell the Java program what value type if any, the method will return (a string value, an int value, a double value, etc). As well as the return type, you require a name for your method, which is also placed in the header. You can pass values over to your methods in between a pair of round brackets.
You can learn more about method in Java at
brainly.com/question/28489761
#SPJ4
The correct answer is 1: B new tech and 2:C we can tell by the way businesses are incorporating things like social media like how Wendys got more popular because of their sassy tweets
Available options
=A4&&B4
=A4&" "&B4
="A4"&""&"34"
=A4&""&B4
Answer:
=A4&""&B4
Explanation:
In a Microsoft Excel spreadsheet, to combine the content of two cells into another cell, a user will have to use the command &
Hence, in this case, given that there is no need to have any character or blank space in between the content of the starging cells, which is just A4 and B4, then we have the following technique
1. Select the cell C2
2. Input the command = or +, then select cell A4
3. Input the command &
4. Then select the cell B4
5. Click enter.
Therefore, the answer should appear as =A4&B4.
But from the available options, there is nothing like that, so we pick =A4&""&B4 because it gives the same outcome.
Yes, the written program has the correct logic to assign the correct discount for each of the 4 valid values of customer_category
<h3>What is a Program?</h3>
This refers to the sequence of instructions that are keyed into a computer to execute user-specific commands.
Hence, we can see that based on the variable customer_category that has a string that is one of these 4 values:
0 for "None"
5 for "Bronze"
10 for "Silver"
20 for "Gold"
The program uses the correct syntax as it gives the correct discount based on the assigned values of the variable customer_category as executed with the syntax above.
Read more about programs here:
brainly.com/question/1538272
#SPJ1