• In determining the GCF of 3 and 1, case I applies because 3 is evenly

divisible by 1. The GCF of 3 and 1 is 1, and therefore the GCF of 7 and 3

is also 1.

hots

(a) The gcf method returns the greatest common factor of

parameters a and b, as determined by case I and case II. Write

the gcf method below. You are encouraged to implement this method

recursively

/** Precondition: a and b are positive integers.

Returns the greatest common factor of a and b, as described in part (a).

*/

public static int gcfint a, int b)

Answers

Answer 1

Answer:

I've added the complete code as a text attachment

Explanation:

This declares two variables as integer for input

       int f1, f2;

Prompts the user for two positive integer inputs

       System.out.print("Enter two positive integers: ");

This gets the two integer input from the user

       f1 = input.nextInt(); f2 = input.nextInt();

If both inputs are positive, the function is called and the gcf is printed

       if (f1 >0&& f2 > 0){

       System.out.printf("G.C.F of %d and %d is %d", f1, f2, gcf(f1, f2));}

If otherwise, a message is printed stating that only positive input is required

       else{            System.out.print("Positive inputs only");        }

   }

The function begins here

[tex]public\ static\ int[/tex] gcf(int a, int b) {

If the second number (b) is 0, the function returns the first number (a)

       if ([tex]b == 0[/tex]) { return [tex]a;[/tex] }

If otherwise, the function is called recursively

       else { [tex]return[/tex] (gcf([tex]b[/tex], [tex]a \% b[/tex])); }

   }

Answer 2

In this exercise we have to use the knowledge of computational language in C to describe the code, like this:

We can find the code in the attached image.

The code can be written more simply as:  

  int f1, f2;

Prompts the user for two positive integer inputs

      System.out.print("Enter two positive integers: ");

      f1 = input.nextInt(); f2 = input.nextInt();

      if (f1 >0&& f2 > 0){

      System.out.printf("G.C.F of %d and %d is %d", f1, f2, gcf(f1, f2));}

     else{            System.out.print("Positive inputs only");        }

  }

See more about C+ at brainly.com/question/25870717

 In Determining The GCF Of 3 And 1, Case I Applies Because 3 Is Evenlydivisible By 1. The GCF Of 3 And

Related Questions

Name three ways you can collect responses from forms

Answers

email, social media, links
emails,files,links,social media

When someone asks, Is this information specific enough?, he or she is interested in more _____.
accuracy
logic
breadth
precision

Answers

Answer:

precision

Explanation:

In simple English precise means exact or something specific

I think it would be logic

What is the primary language used to write web content and is the default format for Outlook messages?

Rich Text Format
Plain Text
HTML
PHP

Answers

Answer:

I think its plain text but I might be wrong

A multiuser operating system specifically allows _____.

multiple users concurrently
multiple processes concurrently
only one person at a time
only one process at a time

Answers

Answer:

multiple users concurrently

Explanation:

A multiuser operating system specifically allows multiple users concurrently.

Match each role to the corresponding web development task.

Answers

Answer:

1. Art director: selecting color palettes.

2. Web project manager: creating budget spreadsheets.

3. Usability lead: researching target audiences.

4. Developer: coding.

Explanation:

HTML is an acronym for hypertext markup language and it is a standard programming language which is used for designing, developing and creating web pages.

Generally, all HTML documents are divided into two (2) main parts; body and head. The head contains information such as version of HTML, title of a page, metadata, link to custom favicons and CSS etc. The body of the HTML document contains the contents or informations of a web page to be displayed.

The various role performed during the web development process (task) includes;

1. Art director: selecting color palettes. This individual is saddled with the responsibility of choosing the color that best fits a website.

2. Web project manager: creating budget spreadsheets. He or she is responsible for performing tasks such as creating a financial (budget) plan, start and finish date (timing), procurement, etc.

3. Usability lead: researching target audiences. This individual is saddled with the responsibility of surveying and collecting data from the demography for which the website is designed.

4. Developer: coding. This is the technical expert referred to as a web developer and is responsible for writing the set of instructions (codes) that enables the website to work properly and serve a purpose.

Write a white paper or PowerPoint presentation demonstrating that you understand the essential elements of a patch
management program. Evaluate at least three patch management software solutions, recommend one, and describe why
you are making this recommendation
Use the list provided in the lesson as your template and search the Internet for information on patch management
concepts and vendor solutions to help create your plan.

Answers

Answer:

When is this due?

Explanation:

I will write it

The variable blocks allow you to create variables and use them in a program. Variables can store numbers or strings. Scratch supports both global and object-specific variables.
Question 4 options:

Answers

Answer:

i think is D

Explanation:

if i wrong correct me

and pa brainlies din po k

What are some of the functions in the Consolidate dialog box? Check all that apply.

Average
Count
Frequency
Maximum
Minimum
Mode
Sum

Answers

Answer:

sum average and count is the answer

What is presentation

Answers

To present something infront of a crowd

Answer:

Presentation is the giving of something to someone, especially as part of a formal ceremony.

Explanation:

Select the correct answer. In which item is energy stored in the form of gravitational potential energy? A. a slice of bread B. a compressed spring C. an apple on a tree D. a stretched bow string

Answers

Answer:

C. an apple on a tree

Explanation:

Energy can be defined as the ability (capacity) to do work. The two (2) main types of energy are;

a. Kinetic energy (KE): it is an energy possessed by an object or body due to its motion.

b. Gravitational potential energy (GPE): it is an energy possessed by an object or body due to its position above the earth.

Mathematically, gravitational potential energy is given by the formula;

[tex] G.P.E = mgh[/tex]

Where;

G.P.E represents gravitational potential energy measured in Joules.

m represents the mass of an object.

g represents acceleration due to gravity measured in meters per seconds square.

h represents the height measured in meters.

In an apple on a tree, energy is stored in the form of gravitational potential energy.

The Healthcare Innovation and Technology Lab would most likely be interested in which of the following app types?

an app to use for budgeting
an app to read books
an app to help people decide on a home insurance policy
an app to send data from an insulin pump to a data collection point

Answers

Answer:

No. 4: An app to send data from an insulin pump to a data collection point.

Explanation:

Healthcare Innovation and Technology Lab would not mainly be focused with budgeting, book reading, and home insurance policies. Answer number 4 includes health and technology.

Need answer ASAP. I’ll mark brainliest if correct

Answers

Answer:

A boy IS-A person.

Explanation:

it sounds more convincing.

If u know then u know!!!!
Water bucket, steve, water bucket, map

Answers

I don't know but okay

You have learned about the uses of the Internet. Perform online research and identify applications of the Internet in at least four different fields, apart from the ones mentioned in the lesson. Write a short report on your findings.

Answers

Answer:

Answer:

Explanation:

Internet is useful in all the sectors and fields of research and business.

a) IT industry

b) Research

c) Efficient logistics

d) Digital marketing

Explanation:

Internet is useful in all the sectors and fields of research and business.

Some of the prominent sectors are

a) IT industry - All the work such as making of website, app, coding, etc. is due to the internet.

b) Research - Students can conduct secondary research online because of the internet and hence their research has now speeded up as compared to the time taken in earlier days

c) Efficient logistics - Be it online shopping, food delivery, parcel delivery etc. every this is driven by internet

d) Marketing on social media platform also known as e marketing is one of the most prominent field of internet application

please help
match the features with the software
Word Processor, Spreadsheet, Database

- addiction of images, drawings, tables and graphics to text
- centralized data management
- data security
- digital version accounting sheets
- supports multiple users for adding data simultaneously
- visual representation of data
- digital version of a typewriter

Answers

Answer:

word processor- addition of images, drawing tables, and graphics to texts and digital version of a typewriter. spreadsheet- digital version of accounting sheets and visual representation of data. database- centralized data management, data security, and supports multiple users for adding data simultaneously

Just switch the two I got wrong and you'll get the correct answers. :)

Using the simple alphabet code below, you will decode and encode the message. Write the Full
Message on the line given. Your spaces have been indicated.
1
3
5
6
7
8
9
10
12
13
2
b
4
d
11
k
a
с
e
h
i
m
f
19
j
23
1
25
14
15
16
17
18
20
21
22
24
26
Z
n
O
p
q
r
t
u
V
w
х
у

Answers

Answer:

acefghijlmb2d4k1113589136510waynopqrtuvx2261415161718202122232425

Explanation:

I just played slither.io and got a length of 50632! Can you beat that? http://slither.io



I WANNA SEE YOU BEAT ME ¯\_(ツ)_/¯ if my name is on the leader board it's kirishima​

Answers

Answer:

Nice

Explanation:

Answer:

well yes

Explanation:

can you plz tap the thanks button and rate 5 stars thx

Give five examples of physical networking.

Answers

Answer:

Local area network (LAN), Wide area network (WAN), Metropolitan area network (MAN), Personal area network (PAN), Others

Explanation:

Others can be classified as peer to peer, bluetooth

What are the 3 P's of Storytelling? (select 3 answers)
Pantomime
Place
Predicament (Problem)
Percentage
People

Answers

I think it would be
People, place, and predicament
Those make the most sense

Which task can be completed using both the Shape Fill and Shape Outline panes of PowerPoint?
O adding color
O adding weight
O adding texture
O adding a picture

Answers

Answer:

A.) adding color

Explanation:

just did it on edg 2021

Answer:

A. Adding color

Explanation: Just did it and got it right on Edg 2021

fortnight on sat 530-10 my name is TTV BTW laggking_12

Answers

Answer: lma o

Explanation:

What is one feature of flexographic printing?
O printing on plastic
O changing images
O raised lettering
O beautiful photographs

Answers

Answer:

A is the answer thank me later

List three differences between word and excel

Answers

Answer:

Word: A word processor

           File extension is .doc

          Images, texts, and graphic styles can be added

Exel: A spreadsheet software

       Comprises rows and columns which combine to form cells

       File extension is .xls

I hope i helped! xoxo

HELP PLEASE!
I dowloaded this app and it gave me a virus. DOES ANYONE HAVE ANY IDEA HOW TO DELETE IT? I have an apple laptop and I don't know how. My laptop send me a message telling me a have a virus and this laptop has MANY IMPORTANT FILES. PLEASE HELP ASAP. I'LL GIVE BRAINLIEST. DONT GIVE LINKS OR LEAVE IT BLANK.

Answers

Answer:

It probably is fake. Send me a screenshot. Also, just saying if it asks you to download a app of something, dont do it its just a scam to make you panic.

Explanation:

Cindy, our company’s Chief Technology Officer (CTO), suspects that someone is trying to hack into the company, and she’s heard that you have some cybersecurity skills that could prove useful. Cindy suspects that there are some hackers who are using SQLi to launch attacks and steal information from one of the databases and also to hijack users’ sessions and take over certain accounts. Can you use your cybersecurity penetration testing skills with SQLi to track down the hackers?
Cindy will need for you to submit a report with recommendations on your findings, which is pretty typical for others in your industry with this type of role.
Write a security assessment report that will be sent to the technical team and senior management, and specifically Cindy, the CTO. Your report should be approximately 3 pages and address the following:

Summary of Findings (overview of vulnerabilities found)

Types of tests used (with details on outcomes)

Impact of Threats

How any parts of the CIA Triad could be compromised with the vulnerabilities

Does OWASP have any recommendations that you can apply?

Executive Summary (what recommendations would you give to the CTO)

Present potential solutions, mitigations, or other
suggestions for reducing or eliminating the vulnerability​

Answers

Answer:

I'm a cyber security enthusiast

Explanation:

How do you want the report delivered to you?

2. What is the use of the percent sign (6) and underscore in the LIKE clause? How do they differ in
operation and production of a report?​

Answers

Answer:

The percent sign % (or per cent sign in British English) is the symbol used to indicate a percentage, a number or ratio as a fraction of 100.

See also: U+2030 ‰ PER MILLE SIGN; U+2031 ...

Answer:

There are two wildcards used in conjunction with the LIKE operator. The percent sign represents zero, one or multiple characters. The underscore represents a single number or character.

Explanation:

There are two wildcards used in conjunction with the LIKE operator. The percent sign represents zero, one or multiple characters. The underscore represents a single number or character.

Define computer memory and write its type

Answers

Answer:

Computer memory is a generic term for all of the different types of data storage technology that a computer may use, including RAM, ROM, and flash memory. ... Another way that computer memory can vary is that some types are non-volatile, which means they can store data on a long term basis even when there is no power

Answer:

Computer memory is a generic term for all of the different types of data storage technology that a computer may use, including RAM, ROM, and flash memory. Some types of computer memory are designed to be very fast, meaning that the central processing unit (CPU) can access data stored there very quickly.

Explanation:

What principle of animation helps facial features to be noticed?
A)Arc
B)Exaggeration
C)Solid Drawing
D)Squash and Stretch

Answers

the answer  is Squash and Stretch we use this when animating faces

-scav

he superclass Student contains: a constructor that accepts a String corresponding to the name of the school the student attends a toString method that returns 'student at X' where X is the name of the school the student attends. Write a public subclass HighSchoolStudent, based on Student, which contains: a constructor accepting a String which is used as a parameter to the superclass constructor a toString method that returns 'high school student at X'. This method must use the toString method of its superclass.

Answers

Solution :

public [tex]$\text{class}$[/tex] Student {

[tex]$\text{protected String}$[/tex] school[tex]$;$[/tex]

public [tex]$\text{Student}$[/tex](String school) {

[tex]$\text{this.school}$[/tex] = school;

}

public String [tex]$\text{toString}()$[/tex] {

return [tex]$\text{"student at"}$[/tex] + school;

}

}

HighSchool[tex]$\text{Student.java}$[/tex] :

public class [tex]$\text{HighSchoolStudent}$[/tex] extends Student {

public [tex]$\text{HighSchoolStudent}$[/tex](String school) {

super[tex]$\text{(school)}$[/tex];

}

public String [tex]$\text{toString}()$[/tex] {

return [tex]$\text{"high school"}$[/tex] + super.[tex]$\text{toString}()$[/tex];

}

}

Gina is a database user and her supervisor has asked her to generate a report from the structured database. Gina does not know how to write SQL commands and no forms have been created. Which of the following would be her BEST option to generate the report?
A. Direct access
B. Programmatic access
C. Query builder
D. User interface access

Answers

Answer: C. Query builder

Explanation:

Based on the information given in the question, since Gina does not know how to write SQL commands and no forms have been created, the best option to generate the report is a query builder.

With the Query Builder, Gina can be able to search and also select and filter the database objects, while also creating relationships between the objects, and save queries despite not having any SQL knowledge.

Other Questions
What is the reaction of Dimethylamamine + acetic acid Which of the following statement(s) is (are) true regarding the variance/standard deviation of a portfolio of two risky securities? I. The lower the coefficient of correlation between securities, the greater the reduction in the portfolio variance. II. There is a linear relationship between the securities' coefficient of correlation and the portfolio variance. III. The standard deviation of the portfolio decreases at an increasing rate as more stocks are added to the portfolio what do you mean by Shifting cultivation Staples Corporation would have had identical income before taxes on both its income tax returns and its income statements for the years 2020 through 2023 except for a depreciable asset that cost $120,000. The asset was 100% expensed for tax purposes in 2020. However, for accounting purposes the straight-line method was used (that is, $30,000 per year). The accounting and tax periods both end December 31. There were no deferred taxes at the beginning of 2020. The depreciable asset has a four-year estimated life and no residual value. The tax rate for each year was 25%. Pretax GAAP income amounts for each of the four years were as follows:Year Pretax GAAP Income2020 $230,0002021 250,0002022 240,0002023 240,000Required:Prepare a schedule to compute the increase to income tax payable on December 31, 2020, 2021, 2022, and 2023. Which is the correct cause and effect relationship? *O the Zimmerman Telegram --> the United States enters World War IO the United States joins the League of Nations --> the United States enters World War IO the United States enters World War 1 --> the sinking of the LusitaniaO the sinking of the USS Maine --> the United States enters World War I Please help I do not know how to do this Please help me it would mean a lot !!!!!!!!!!!!!! NO LINKS!! PLEASEE HELPP QUICK I POSTED THIS SO MANY TIMES AND NOBODY ANSWERS PLSSS HELP MEEE Write the slope-intercept inequality for the graph below. If necessary, use = for > What are the measurements of the garden? You recently went on a school trip. Your teacher has asked you to write a report about the trip and make suggestions for next year 4 to the power of 6 multiplied by 4 to the power of 7 Add 1.5107 to 2.7109.Group of answer choices1.527109.2.715109.2.715107.1.527107. What did you learn about how you are spending your time? Explain in at least two complete sentences. How did the essay I just couldnt put it down describe plot a balloon is released at ground level, and it rises into the air at a constant rate. after 12 seconds the balloon is 180 feet above the ground. complete the table to describe the proportional situation. type your answers in the blanks. find the slope and y-intercept of (x+2)(x+3)=(x-2)(x-3)+y In the second sentence of the second paragraph, the author uses an em dash to set off a list thatAemphasizes the global nature of the injustices he describesBwarns his audience against feeling complacent about past strugglesindicates the extent of his personal engagement with various civil rights struggles around the worldDstimulates the audience's sympathy by referencing groups with whose struggles they are likely familiarEencourage his audience to join a political movement by enumerating issues likely to engage their interest Please help me with this question thanks! Help please. And explain your answer 10 POINTS FOR THE CORRECT ANSWER THIS IS DUE TODAY PLEASE HELP ME