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
kondor19780726 [428]
3 years ago
15

Can changing the declaration of calcSubTotal to the following still work? i. public static double calcSubTotal(double[] p, int[]

a) ii. public static double calcSubTotal(double[] a, int[] p) iii. public static double calcSubTotal(double[] p, double[] a) iv. public static double calcSubTotal(int[] a, double[] p) v. public static double calcSubTotal(double[] p1, int[] p2);
Computers and Technology
1 answer:
larisa86 [58]3 years ago
8 0
Pspepepe SKSKKSKS is skaoakaoka
You might be interested in
You are looking at computer ads. One has a processor that is 3.64GHz. What does this mean?
aliina [53]

Answer:

The higher the clockspeed the more the cpu can do

Explanation:

8 0
3 years ago
Which of these allows the programmer to put data inside a variable?
gregori [183]

Answer:

it's the equal sign "="

5 0
3 years ago
Write a Python function called validateCreditCard that takes 8-digit credit card number as the input parameter (string value) an
babunello [35]

Answer:

def validateCreditCard(x):

      if type(x)==str and len(x) == 8:

           print("Valid credit card number")

      else:

          print("Invalid credit card number")

validateCreditCard("43589795")

Explanation:

Run the code on your text editor(vs code, sublime, pycharm ) you will get your desired response. If your input is not of type string and not up to 8 digit you will get the response "invalid credit card number" but if it is of type string and up to 8 digit you will get "Valid credit card number".

But remember python works with indentation so when you are transferring this code to your text editor it will run properly well.

I defined the code using the conventional pattern "def"

After defining the function you create a brackets (x) to accommodate your argument x and end it with a semi colon.  

Then i use "if" statement to make sure only string argument and 8 digit value will be accepted to print a "valid credit card". if your argument does not pass the if statement condition it will print out the else statement condition which is "Invalid credit card number"

Finally, you have to call your function and test various values.

     

   

6 0
3 years ago
A(n) ________ is a chart based on PivotTable data.
Mrrafil [7]
Well since it’s a chart based on a PivotTable prettyyyy sure it’s gonna be a PibltChart
7 0
3 years ago
Its Simple To delete Your Own Online Poste Or Photos But
tensa zangetsu [6.8K]

its not simple nothing never is deleted from online posts or photos

4 0
4 years ago
Read 2 more answers
Other questions:
  • Which of the following statements invokes the GetDiscount function, passing it the contents of two Decimal variables named decSa
    8·1 answer
  • Different organizations implement different Information Systems base on their core business operations. explain
    14·1 answer
  • Numeric data is stored in ___________ for direct processing.
    6·2 answers
  • Give one example of a civil engineering structure.
    5·1 answer
  • Where Can you find 2tickets Universal Studios Horror night
    10·2 answers
  • What color mode would you use when designing for web & devices?
    9·1 answer
  • Since the rules cannot address all circumstances, the Code includes a conceptual framework approach for members to use to evalua
    8·1 answer
  • What is the code for forgot password on messenger​
    9·1 answer
  • The system where the unit of measurement is centimeter
    15·1 answer
  • Fre.e points enjoy em
    7·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!