1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
guajiro [1.7K]
3 years ago
8

Functions can accept any number of arguments.

Computers and Technology
1 answer:
kogti [31]3 years ago
6 0
True
Calculator

Functions can accept any amount of arguments if the program allows it.
Return statements return any value specified
You might be interested in
You can remove selected text from a slide by pressing the CTRL+X keyboard shortcut keys.
Dmitry_Shevchenko [17]

Okayyyyyyyyyyyyyyyyyyyyy

7 0
3 years ago
Complete main() to read dates from input, one date per line. Each date's format must be as follows: March 1, 1990. Any date not
rewona [7]

Answer:

Explanation:

The following code was written in Java it creates a switch statement for all the month values in order to turn them from Strings into integer values. Then it reads every line of input places them into an array of dates if they are the correct input format, and loops through the array changing every date into the correct output format.Ouput can be seen in the attached picture below.

import java.util.ArrayList;

import java.util.Scanner;

class Brainly {

   public static int intForMonth(String monthString) {

       int monthValue;

       switch (monthString) {

           case "January": monthValue = 1;

               break;

           case "February": monthValue = 2;

               break;

           case "March": monthValue = 3;

               break;

           case "April": monthValue = 4;

               break;

           case "May": monthValue = 5;

               break;

           case "June": monthValue = 6;

               break;

           case "July": monthValue = 7;

               break;

           case "August": monthValue = 8;

               break;

           case "September": monthValue = 9;

               break;

           case "October": monthValue = 10;

               break;

           case "November": monthValue = 11;

               break;

           case "December": monthValue = 12;

               break;

           default: monthValue = 00;

       }

       return monthValue;

   }

   public static void main(String[] args) {

       Scanner scnr = new Scanner(System.in);

       ArrayList<String> dates = new ArrayList<>();

       String date;

       String month;

       String day;

       String year;

       int i = 0;

       while (true) {

           date = scnr.nextLine();

           if (date.equals("-1")) {

               break;

           }

           dates.add(date);

       }

       for (i = 0; i < dates.size(); i++) {

           try {

               month = dates.get(i).substring(0, dates.get(i).indexOf(" "));

               day = dates.get(i).substring(dates.get(i).indexOf(" ") + 1, dates.get(i).indexOf(","));

               year = dates.get(i).substring(dates.get(i).indexOf(",") + 2, dates.get(i).length());

               System.out.println(intForMonth(month) + "/" + day + "/" + year);

           } catch (Exception e) {}

       }

   }

}

8 0
3 years ago
In what form do the hexadecimal numbers need to be converted for a computer’s digital circuit to process them?
MrMuchimi

Hexadecimal numbers are just a convenient representation of binary data. When entered as text, they consist of ASCII characters 0-9 and a-f. The numbers will then have to be converted to binary. This is accomplished by converting to uppercase, subtracting the ASCII offset (48 for 0-9 or 55 for A-F), so that the result is a number between 0 and 15 (inclusive). This can be stored in computer memory to represent 4 bits.

Hexadecimal numbers represent binary numbers in the following way:

hex | binary

0 = 0000

1 = 0001

2 = 0010

3 = 0011

4 = 0100

5 = 0101

6 = 0110

7 = 0111

8 = 1000

9 = 1001

a = 1010

b = 1011

c = 1100

d = 1101

e = 1110

f = 1111

As you can see, no other 4 bit combination exists.



5 0
4 years ago
In software development and quality assurance, what is referred to as Quality of service?
KIM [24]

Answer: Quality of service(QoS) is the parameter of the software development. This signifies about the management of the software resources,eliminating traffic or errors and evaluating the assurance about service quality of software.

There are several features that come under the quality of service feature to determine the software quality such as performance, scalability, service,scalability etc.If the software is evaluated positive on these factors then service quality is considered good which results in appropriate software development.

7 0
4 years ago
Which business document is usually written in block style with the body text aligned along its left margin?
densk [106]
The formal business letter is written in block style along the left margin. Hope this helps!
7 0
3 years ago
Other questions:
  • What's the full form of SEO?
    12·2 answers
  • Write the code to declare a variable to hold the value of the grade you hope to get in this class. What stdio.h input function w
    13·1 answer
  • Software that helps you navigate the web is called
    9·1 answer
  • When preparing to communicate a solution to a design problem, you must:?
    5·1 answer
  • In which architecture is the application logic usually on the client side?
    8·1 answer
  • In 3-4 sentences, write a note to a friend describ
    6·2 answers
  • which is a set of techniques that use descriptive data and forecasts to identify the decisions most likely to result in the best
    8·1 answer
  • They convert energy from the Sun into usable chemical energy by the process of photosynthesis. They are
    11·1 answer
  • PLEASE HELP ASAP
    15·1 answer
  • Write a function that receives a one-dimensional array of integers and returns a Python tuple with two values - the minimum and
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!