Create 2 methods of your choice.
Your methods must have at least 1 parameter and must return a value. Your methods have to return different types, for example: if your 1st method is returning a boolean then maybe you'll want your 2nd method to return an int. It is up to you what you have them returning as long as they are returning 2 different types. Call those 2 methods within your main method and print the results.

Answers

Answer 1
I can’t find how to do this

Related Questions

Recognizing the trade-off between interesting design features and cost is part of which stage of the product development life cycle?

Answers

Answer: detailed product design

Explanation:

And their functions pls.

Answers

The motherboard, CPU, RAM, hard drive, monitor, mouse, and keyboard are basic internal components found in a computer.

ball.setSize(25, 75);
What does 25 represent in the example above?
1. The SPEED of the ball
2. The WIDTH of the ball
3. The HEIGHT of the ball
4. The 'X' coordinate of the ball

Answers

Answer:

2

Explanation:

Multiple
What is 67 Denary when converted to binary?
•01000011
•01000101
•01001011
PLEASE ANSWER I WILL GIVE U BRAINLY!!

Answers

Answer:

this is the answer 1000011

Answer:

00111010 00101001 00100000 01101000 01100101 01101100 01101100 01101111 00100000 01010010 01000101 01000101

Explanation:

Which function is correctly written?
1= MAX(A1, B1, C1)
2=MIN(A1:05)
3=A1:C8

Answers

Answer:

1

Explanation:

Give the an example of the following .
a.)typing software

Answers

Max Type Pro

Stamina Typing Tutor.

Answer:

Microsoft Word

Explanation:

welcome! stay sweet

Calculate the formula unit mass if Al(NO3)3.(Al=27,N=14,O=16)​

Answers

Answer:

Explanation:

EMAIL query ? comment or request a type of GCSE calculation not covered? ... atomic masses are Al = 27 and O = 16; so the relative formula mass RFM or Mr = (2 x 27) + (3 x 16) = 102

A. Fill in the blanks:
1.
is an effective way to display data in pictorial form.
2. Data series are the bars or slices that show the
3. Barchart displays data in the form of long
rods.
4.
is the vertical axis that is used to plot the values.
5.
is a key that is used to identify the colours, patterns, or symbol assigned to a data series.

Answers

Answer:

1. Charts.

2. Data series.

3. Rectangular.

4. Y-axis.

5. Legend.

Explanation:

1. Charts: is an effective way to display data in pictorial form. It includes the use of pie charts, bar charts, venn diagram, etc.

2. Data series: are the bars or slices that show the data values. It comprises of related data sets.

3. Barchart displays data in the form of long rectangular rods. Generally, bar charts are used for the comparison of informations obtained from a data collection by representing each value (information) with rectangular bars respectively. A bar chart has a x-axis and a y-axis used to represent the various categories of data collected.

4. Y-axis: is the vertical axis that is used to plot the values. The other axis for plotting values is known as X-axis.

5. Legend: is a key that is used to identify the colours, patterns, or symbol assigned to a data series.

which of the following is a type of virus that travels through shared files and programs and can bring down an entire system?
A) trojan horse
B) worm
C) computer infection
D) spyware

Answers

Answer:

A) trojan horse

Explanation:

Answer:

The worm is able to bring down an entire system

Explanation:

Give me 4 examples of things to consider as a sound designer?
HURYYYYY IM TIMED

Answers

Answer:

Sound design components include sound effects or SFX sound design, mixing, Foley sound design, dialogue, and music.

Explanation:

Frankie is in charge of writing a script for a television show, along with six other writers. The script must be finished by the end of the week. Frankie’s co-workers all bring slightly different strengths to the table, but all are at least competent. Frankie wants to write the best possible script in the generous amount of time he has to work with. In this example, which style of leadership would be most effective for Frankie’s goals?
a.
Authoritarian
b.
Coaching
c.
Democratic
d.
Delegative

Answers

The best type of leadership for Frankie would be C, Democratic.

The style of leadership would be most effective for Frankie’s goals is Democratic. Thus, option C is correct.

What is Democratic leadership style?

This is known to be a form of government where the the people rule through their elected representative. Note that The style of leadership would be most effective for Frankie’s goals is Democratic as it is where one can listen to what the people has to say.

A good leader must be willing to adopt the style which suits the situation they are in. When dealing with inexperienced employees, an authoritarian style might be the best.

A scripting language or script language is a programming language for a runtime system that automates the execution of tasks that would otherwise be performed individually by a human operator.

Therefore, The style of leadership would be most effective for Frankie’s goals is Democratic. Thus, option C is correct.

Learn more about Democratic from

brainly.com/question/3710021

#SPJ5

Assignment 4: Evens and Odds
Instructions

Write a program that will ask a user for how many numbers they would like to check. Then, using a for loop, prompt the user for a number, and output if that number is even or odd. Continue doing this as many times as the user indicated. Once the loop ends, output how many even numbers were entered and how many odd numbers were entered.

Hint: For a number to be even, when the number is divided by 2, there should be no remainder - so you will want to use the modulus (%) operator.

Hint: You will need two count variables to keep track of odd and even numbers.

Sample Run 1
How many numbers do you need to check? 5
Enter number: 20
20 is an even number.
Enter number: 33
33 is an odd number.
Enter number: 4
4 is an even number.
Enter number: 77
77 is an odd number.
Enter number: 8
8 is an even number.
You entered 3 even number(s).
You entered 2 odd number(s).
Sample Run 2
How many numbers do you need to check? 3
Enter number: 10
10 is an even number.
Enter number: 3
3 is an odd number.
Enter number: 400
You entered 2 even number(s).
You entered 1 odd number(s).

Sample Run 2
How many numbers do you need to check? 3
Enter number: 10
10 is an even number.
Enter number: 3
3 is an odd number.
Enter number: 400
You entered 2 even number(s).
You entered 1 odd number(s).

Benchmarks
1. Create and initialize two count variables - one for odd and one for even.
2. Prompt the user to answer the question, “How many numbers do you need to check?"
3. Based on the previous input, create a for loop that will run that exact number of times.
1. Prompt the user to “Enter number: “
2.If that number is even, output “[number] is an even number.”
3.Update the even count variable.
4.Or else if the number is odd, output “[number] is an odd number.”
5.Update the odd count variable.
4.Output “You entered [number] even number(s).”
5.Output “You entered [number] odd number(s)."

Answers

Wow that is really long

Which of the following returns to the beginning of the while loop?
the continue statement

the break statement

the return statement

the end statement

Answers

Explanation:

z decreased by 3 as an algebraic expression is *

Answer:

The Continue Statement

Explanation:

Edge

Use the table on the right to convert from decimal to octal.

The octal value of decimal 12 is 13.

The octal value of decimal 9 is 1001.
The octal value of decimal 13 is 15.

The octal value of decimal 10 is A.

Answers

Answer:

the answer is

The octal value of decimal 13 is 15

Explanation:

PowerPoint SAM Capstone Project 1 can PLEASE someone do it for me I have some directions like steps and you just have to do it in a powerpoint slide please I would really appreciate it

Answers

Answer:

Sooo what's the question??

Explanation:

Answer:

kk

Explanation:

I store data that the CPU needs. What am I?

Answers

Answer:

Memory

Explanation:

Memory send commands to the CPU . Alternative modes of memory exist, and each one of them plays an essential role in operating a software machine.Memory is commonly called storage. Either the storage is unstable or non-volatile.

Answer:

I store data that the CPU needs . I am Memory unit .

hope it is helpful to you

You have imported a library with the birthMonth() function. Based on the API, how many strings are inputed to calculate the birth month?

Answers

Answer: Only 1 string is entered

str(dayWeek) is the only string entered into the function.

str(return) is outputted, not inputted.

Numbers are not strings.

// calculate birth month based on the day of the month, day of the week, and the birth year

// dayMonth {number} - a day of a month from 1 to 31

// dayWeek {string} - the name of the day of the week

// year {number} - the birth year

// return {string} - the month you were born

BirthdayLibrary.birthMonth(dayMonth, dayWeek, year);

the answer is : 1

the guy above me has a good explanation    

How does a passive attack differ from an active attack?

Answers

Active and Passive Attacks are security attacks. In Active attack, an attacker tries to modify the content of the messages. Whereas in Passive attack, an attacker observes the messages, copy them and may use them for malicious purposes. ... In Passive Attack, information remain unchanged. Hope this helped :)

Which of the following is used as a placeholder for future code and has no function being executed?

hold

return
pass

null

Answers

Answer:

Pass, does nothing, you can put it in a function to just skip over it without failing.

Explanation:

Hold pauses the operation, return returns a value, and null is a placeholder variable that has many uses.

Answer:

i think it is pass

Explanation:

if not srry and let me know

please can somebody help me! i’m really stuck on this question

Answers

Answer:

import turtle

t = turtle.Turtle()

t.speed(0)

for x in range(1,10):

 for i in range(4):

   t.forward(20*x)

   t.right(90)

A person buys a product from XYZ shop. You have to input quantity of a product and price of one product. Provide 10 percent discount on bill, display bill before discount, amount discounted and bill after discount. Write pseudo code algorithm to process the requirement.

Answers

Answer:

The pseudocode algorithm is as follows:

StartInput QuantityInput PriceBill = Quantity * PriceDiscount = 0.10 * BillDisplay "Before Discount: "+billDisplay "Discount: "+discountDisplay "After Discount: "+(bill - discount)Stop

Explanation:

This begins the algorithm

Start

First, get input for quantity

Input Quantity

Then, get input for price

Input Price

Calculate the total bill (before discount)

Bill = Quantity * Price

Calculate discount

Discount = 0.10 * Bill

Print the total bill (before discount)

Display "Before Discount: "+bill

Print the discounted amount

Display "Discount: "+discount

Print the total bill (after discount)

Display "After Discount: "+(bill - discount)

End of algorithm

Stop

When receiving help, what information should you prepare to discuss? Check all that apply.

Answers

Answer:

1,2,4,5

Explanation:

did it on edge 2021

plz mark me brainliest:)

Answer:

1,2,4,5

Explanation:

i did it on edge 2021 :>

Which descriptions offer examples of Programming and Software Development workers? Check all that apply.

Answers

Answer:

Dude there are no examples

Explanation:

welp im out of ideas TwT
Xavier really needs to get through a large amount of reading, and he needs to review before his science test. He has been walking around his house trying to find an effective place to study, but he has not found the right place yet. Xavier wants to choose a good study environment so that he can focus on his work.

Which factors should Xavier look for in a good study environment? Check all that apply.

an uncluttered surface with plenty of light
a warm room with pillows to sit on
a comfortable chair to sit in
an area with a place to open books and write
a place with family and friends close by

Answers

Answer:

An uncluttered surface with plenty of light, a comfortable chair to sit in, an area with a place to open books and write.

Explanation:

Family and friends are nice but they will distract you. A warm room with pillows is nice but is too tempting and sleep-inducing. Plenty of light reduces eye-strain and allows you to feel awake. A comfortable chair is a granted necessity especially if Xavier needs to sit for a while. An area with a place to open books and write down notes and such is a must-have. Writing down information is better than typing and usually work needs to be shown and books need to be read, whether its for studying or getting information.

The focus of Xavier while finding good study environment must be made to  uncluttered area with light, comfortable chair and area to open books and write. Thus, options A, C and D are correct.

What is a good study environment?

The study environment can be given as the physical, psychological and social circumstances that enables the wellbeing of the student as well as his concentration.

The focus while finding a good study environment must be made over silence, healthy condition, and the ability to spend time alone with books.

Thus, Xavier while choosing the good study environment must focus on uncluttered surface with enough light, comfortable chair, and area to open books and write. Thus, options A, C, and D are correct.

Learn more about study environment, here:

https://brainly.com/question/12330503

#SPJ2

Selective colleges choose to have in-person meetings to learn more about the applicants. These meetings are called:

A. college recruiting meetings.
B. personal meetings.
C. student orientations.
D. college interviews

Answers

The meeting is called collage interviews

Selective colleges choose to have in-person meetings to learn more about the applicants. These meetings are called college interviews. Thus, option D is correct.

What is a College?

A college has been either an educational institution or itself or one of its component parts. A college would be the secondary school, a part of the a collegiate or the federal university, a postsecondary institution offering the degrees, or the facility providing the vocational training.

A college could be the high school or the secondary school, a college of the further education, a training facility that would grants trade qualifications,as well as a higher-education provider without university status, or the component part of a university.

In the United States, a college may provide undergraduate programs as an independent institution, as the undergraduate division of a university, as a residential college of a university, as a community college, or as the undergraduate division of a non-profit organization.

To learn more about College, visit:

brainly.com/question/4217955

#SPJ2

Which task would most likely be completed by a physician’s assistant?
A.
Diagnose and treat medical conditions of patients
B.
Clean and maintain the hospital machinery and equipment.
C.
Conduct research studies to determine medication dosages.
D.
Review the budget and determine ways to save money.
E.
Prepare reports to be presented in medical conferences.

Answers

Answer:

A

Explanation:

My mom is a PA

Answer:

A

Explanation:

The ___ function can be entered by clicking the cell where you want to add the funtion such as cell J6. Then click the arrow next to the autosum button and choose averange

Answers

Answer:

The name of the function that can be added to a cell below a column of numbers or to the right of a row of numbers to find the average by clicking on the AutoSum button on the HOME tab is;

Average

Explanation:

The average function is the function used to quickly find the arithmetic mean, 'μ', or average of a number group, x₁, x₂, x₃, ...xₙ, which is given by dividing the sum of the numbers by the count, 'n', of the numbers, as follows;

μ = ∑x/n

The AutoSum can be used to find the average in Microsoft Excel by clicking on the next cell to row of cells to the right or immediately below the column of cells, then clicking on the down arrow on the right of the AutoSum button on the HOME tab and selecting Average from among the options, the average of the numbers in the column or row of cells will be displayed in the selected cell.

Therefore, we have;

The Average function can be entered by clicking the cell where you want to add the function such as cell J6. Then click the arrow next to the AutoSum button and choose average

what are some questions or strategies we can use to help us better understand and define problems before we try to solve them?

Answers

Answer:

Define the problem, generate alternative solutions, think, make a list,  and evaluate an alternative, hope this helps

Explanation:

Type the correct answer in the box. Spell all words correctly. Complete the sentence based on what you know about target audiences. Two people belonging to the same may like different types of films.​

Answers

Answer: Demographic

Explanation: For example, a 70-year-old retired war veteran may enjoy a war movie, but a retired banker of the same age may not. I got this correct on the test

Please help me :((((....Shreela gets nervous when faced with an audience and tends to forget parts of her presentation. What can she do to help remember her points?

A.
Use the Task Pane feature.
B.
Enter the points to remember in the slide placeholders.
C.
Use the Speaker Notes feature.
D.
Enter the points to remember in the documents area.

Answers

Answer: D.

Explanation:

She just needs brief notes.

Other Questions
There are two metallic spheres and a positive-charge generator. Throughout the entire problem, one sphere is always closest to the generator (call it C), and one is always farther away (call it F). Both spheres start electrically neutral and are in contact with each other. These spheres are now brought near the positivecharge generator (call it G), but do not touch it. The two metallic spheres C and F are then separated from each other, and then individually moved away from the positive-charge generator.Immediately after the two spheres are moved away from the positive-charge generator, the sphere farther away from the charge generator is charged_______a. positive b. negative c. neutral d. cannot be determined List the side lengths of AVWX in order from smallest to largest, given that mZX = 32,mZV = 110, and mZW = 38. What types of documents are being taxed? What name is not associated with Janes current location?A. Moor houseB. MortonC. Marsh endD. Marycross Pls help now ok am tired Vladek uses the expression pssh on page 73 panel 8 how does this expression impact the tone of his statement A. It creates a condescending tone B. It creates a relaxed tone C. It creates a disinterested toneD. It creates an exciting tone What is the area of this face?please help!!!! look at the graph shown below i.dk what i am doing 15 points i will give brainliest Need help with this Spanish please I need help. I don't get this If y = 5x-2 were changed to y = 3x-2how would the graph of the newfunction compare with the first one? Find the number that is exactly halfway between and3/10 and 4/5 Approximately how many years passed between the historical Trojan War and the writing of The Iliad?20 years50 years100 years500 years5,000 years In the following graph , what is the objects average velocity? A store offers a 15% discount on their pants. If the pants originally cost $30.00 what will be the discount price of the pants? (the total cost after the discount) What did most Americans think of gorge Washington Why does Macduff say that Malcolm and Donalbain are suspected of hiring their father's murderers? A. they left without telling anyone B. they display few signs of grief C. they were friendly with the servants D. they fought about who was the rightful heir Which law represents a balanced chemical reaction?A. Avogadros hypothesisB. Ideal gas lawC. Newtons 1st law of motionD. Newtons second law of motionE.Law of conservation of mass Tanya purchases gifts for two friends The first is a purse for $19.99, and the second is pair of shoot. Her total is $45.67 before tax, How much did she spend on the shoes?