4.2 lesson practice last one plzs help

4.2 Lesson Practice Last One Plzs Help

Answers

Answer 1

The numbers 5, 7, 9, and 11 are the output.

I hope this helps!

Answer 2

The output of the program which involves the use of a while loop will be 5, 7, 9, and 11

The initial value of the variable, c = 3

The while loop ensures that program in the loop stops running or breaks once the value of c is greater than or equal to 10.

The first value which will be printed is ;

c = c + 2

c = 3 + 2 = 5

Since, the value of c is below 10 ;

c = c + 2

c = 5 + 2 = 7

Since, the value of c is below 10 ;

c = c + 2

c = 7 + 2 = 9

Since, the value of c is below 10 ;

c = c + 2

c = 9 + 2 = 11

The program breaks since the value of c is now greater than 10.

Therefore, the output are 5, 7, 9 and 11

Learn more :https://brainly.com/question/18253379

4.2 Lesson Practice Last One Plzs Help

Related Questions

What year was html released?

Answers

2007 because I said so

Answer:

1999

Explanation:

true or false an integer and float can be argument?

Answers

Answer: TRUE

Explanation:

An integer and a float can both be arguments in a function or method. They are both considered numerical data types in programming, and can be used in mathematical operations.

Which expression evaluates as True when the value stored in the variable is 5? Select two options. 5 => 5 5 => 5, 5 == 5 5 == 5, 5 >= 5 5 >= 5, 5 > 5 5 > 5, 5 = 5

Answers

The expressions that evaluate as True when the value stored in the variable is 5 are:

5 == 5

5 >= 5

Therefore, the correct options are:

5 == 5, and

5 >= 5.

What is the explanation for the above response?

The reason why the expressions "5 == 5" and "5 >= 5" evaluate as True when the value stored in the variable is 5 is as follows:

"5 == 5" checks if the value stored in the variable is equal to 5. Since the value stored in the variable is 5, this expression evaluates as True.

"5 >= 5" checks if the value stored in the variable is greater than or equal to 5. Since the value stored in the variable is 5, which is equal to 5, this expression evaluates as True.

On the other hand, the expressions "5 => 5", "5 > 5", "5 = 5" do not evaluate as True when the value stored in the variable is 5 because:

"5 => 5" is not a valid syntax for a comparison operator. It should be ">=" instead of "=>".

"5 > 5" checks if the value stored in the variable is greater than 5. Since the value stored in the variable is 5, which is not greater than 5, this expression evaluates as False.

"5 = 5" is not a valid syntax for a comparison operator. It should be "==" instead of "=" (which is an assignment operator).

Learn more about variables at:

https://brainly.com/question/15740935

#SPJ1

Answer:

5==

Explanation:

Define the 7 steps to web design.

Define the 7 steps to web design.

Answers

I think it’s what he said

what is the basic concept of ethernet?

Answers

Answer:

high speed internet connection

Answer:

 Ethernet is the traditional technology for connecting devices in a wired local area network (LAN) or wide area network (WAN). It enables devices to communicate with each other via a protocol, which is a set of rules or common network language. It enables devices to communicate with each other via a protocol, which is a set of rules or common network language.

what is smarta Art ? ​

Answers

Answer:

A SmartArt graphic is a visual representation of your information and ideas. You create one by choosing a layout that fits your message. Some layouts (such as organization charts and Venn diagrams) portray specific kinds of information, while others simply enhance the appearance of a bulleted list.

short ans(SmartArt is a way to turn ordinary text into something more visually appealing. It helps draw attention to important information or make information easier to interpret and understand.)

the language is Java! please help

the language is Java! please help

Answers

public class Drive {

   int miles;

   int gas;

   String carType;

   public String getGas(){

       return Integer.toBinaryString(gas);

   }

   public Drive(String driveCarType){

       carType = driveCarType;

   }

   public static void main(String [] args){

       System.out.println("Hello World!");

   }

   

}

I'm pretty new to Java myself, but I think this is what you wanted. I hope this helps!

dumb question but...for christmas should i get the animal crossing switch or the forrnite one which has a lot and a colored doc? ​

dumb question but...for christmas should i get the animal crossing switch or the forrnite one which has

Answers

Answer:

Its your decision but I would go with animal crossing!

Alicia wants to change the display of the Outlook Today window on her computer. After clicking on Customize Outlook Today, which steps should she follow to change the display from three columns to one column?

In the Startup area, click 1 from the drop-down menu.
In the Startup area, click Standard (one column) from the drop-down menu.
In the Styles area, click Standard (one column) from the drop-down menu.
In the Styles area, click 1 from the drop-down menu.

Answers

Outlook is the mailing program used to receive and send emails. The display from three columns to one column can be changed by clicking in the style's area and selecting the standard. Thus, option c is correct.

What is the style's area?

The styles area is the option in the Outlook used to change the format of how the display looks to the users in the mail area. They are found in the format text tab.

In the tab select the style's area and choose the standard option which is the one-column option that can be selected from the drop-down buttons.

Therefore, option c.  choosing the standard option in the style area is used to change the display.

Learn more about outlook here:

https://brainly.com/question/19755799

#SPJ1

A client has the right to receive ethically conducted research. Discuss this statement with examples.

Answers

A client has the right to receive ethically conducted research. This means that the researcher should adhere to the principles of scientific research, which includes honesty, objectivity, integrity, and respect for human subjects. In addition, the researcher should ensure that the research is conducted in a safe and responsible manner.

What is research?
Research is defined as "creative and methodical activity done to improve the body of knowledge." It entails the objective gathering, organising, and analysis of data in order to improve comprehension of a subject or issue. A research effort could build on prior contributions to the field. Research may duplicate portions of earlier projects or the project as a complete to verify the accuracy of instruments, processes, or experiments.

Documentation, discovery, interpretation, as well as the research and development (R&D) of methods & systems again for advancement of human knowledge are the main goals of basic research (as opposed to applied research). Research methodologies are based on epistemologies, which differ greatly within and between the humanities and sciences.

To learn more about research
https://brainly.com/question/25257437
#SPJ13

You found an exciting summer job for five weeks. It pays, say, $15.50 per hour. Suppose that the total tax you pay on your summer job income is 14%. After paying the taxes, you spend 10% of your net income to buy new clothes and other accessories for the next school year and 1% to buy school supplies. After buying clothes and school supplies, you use 25% of the remaining money to buy savings bonds. For each dollar you spend to buy savings bonds, your parents spend $0.50 to buy additional savings bonds for you. Write a program that prompts the user to enter the pay rate for an hour and the number of hours you worked each week.

Answers

Answer:

Written in Python

hours = int(input("Hours Worked: "))

rate = int(input("Hourly Rate: "))

gross = hours * rate

net = gross * 0.14

gross = gross * 0.14

clothes = net * 0.10

school = net * 0.01

net = net - (clothes + school)  

bonds = net * 0.25

parentsBonds = bonds * 0.50  

print("Gross Income: $"+str(round(gross,2)))

print("Net Income: $"+str(round(net,2)))

print("Clothes & Accessories: $"+str(round(clothes,2)))

print("School Supplies: $"+str(round(school,2)))

print("Savings Bonds: $"+str(round(bonds,2)))

print("Parents Bonds: $"+str(round(parentsBonds,2)))

Explanation:

This line prompts user for hours worked

hours = int(input("Hours Worked: "))

This line prompts user for hourly rate

rate = int(input("Hourly Rate: "))

This line calculates the gross pay before tax

gross = hours * rate

This line calculates the net pay before tax

net = gross * 0.14

This line calculates the net pay after tax

gross = gross * 0.14

This line calculates the amount spent on cloth

clothes = net * 0.10

This line calculates the amount spent on school

school = net * 0.01

This line calculates the net after spending on clothes and schools

net = net - (clothes + school)  

This calculates the savings for bonds

bonds = net * 0.25

This calculates the support for bonds from parents

parentsBonds = bonds * 0.50  

This prints the Gross Income

print("Gross Income: $"+str(round(gross,2)))

This prints the Net Income

print("Net Income: $"+str(round(net,2)))

This prints the Amount spent of clothes and accessories

print("Clothes & Accessories: $"+str(round(clothes,2)))

This prints the school supplies

print("School Supplies: $"+str(round(school,2)))

This prints the savings bond

print("Savings Bonds: $"+str(round(bonds,2)))

This prints the parents bonds

print("Parents Bonds: $"+str(round(parentsBonds,2)))

Write code in MinutesToHours that assigns totalHours with totalMins divided by 60

Given the following code:

Function MinutesToHours(float totalMins) returns float totalHours
totalHours = MinutesToHours(totalMins / 60)
// Calculate totalHours:
totalHours = 0

Function Main() returns nothing
float userMins
float totalHours

userMins = Get next input
totalHours = MinutesToHours(userMins)

Put userMins to output
Put " minutes are " to output
Put totalHours to output
Put " hours." to output

Answers

Answer:

Function MinutesToHours(float totalMins) returns float totalHours

   // Calculate totalHours:

   totalHours = totalMins / 60

   return totalHours

End Function

xamine the following output:

Reply from 64.78.193.84: bytes=32 time=86ms TTL=115
Reply from 64.78.193.84: bytes=32 time=43ms TTL=115
Reply from 64.78.193.84: bytes=32 time=44ms TTL=115
Reply from 64.78.193.84: bytes=32 time=47ms TTL=115
Reply from 64.78.193.84: bytes=32 time=44ms TTL=115
Reply from 64.78.193.84: bytes=32 time=44ms TTL=115
Reply from 64.78.193.84: bytes=32 time=73ms TTL=115
Reply from 64.78.193.84: bytes=32 time=46ms TTL=115

Which of the following utilities produced this output?

Answers

The output provided appears to be from the "ping" utility.

How is this so?

Ping is a network diagnostic   tool used to test the connectivity between two network devices,typically using the Internet Control Message Protocol (ICMP).

In this case, the output shows   the successful replies received from the IP address 64.78.193.84,along with the response time and time-to-live (TTL) value.

Ping is commonly used to troubleshoot   network connectivity issues and measureround-trip times to a specific destination.

Learn more about utilities  at:

https://brainly.com/question/30049978

#SPJ1

Which task might a hardware designer do?
OA. Design computing components for cars and medical equipment
B. Design 3D models for video games and augmented reality
OC. Design and build communications equipment
D. Design the software that computers use

Answers

C. Design and build communications equipment

This communication equipment can be phones, EarPods which are hardware

Hope it helps!

The task that a hardware designer do is to design computing components for cars and medical equipment. The correct option is A.

A hardware designer is in charge of creating computational components for a range of products, including automobiles and medical equipment.

They design specialized hardware systems to fulfil particular specifications, assuring effective and dependable performance.

Working on systems for automotive control, entertainment, and safety features is a part of designing automotive components.

Hardware designers create parts for medical equipment in the medical industry, assuring their precision, dependability, and regulatory compliance.

Designing circuit boards, microprocessors, integrated circuits, and other electronic devices is part of their job description.

Hardware designers play a critical role in enabling the integration of cutting-edge technology and enhancing functionality in specialized sectors by creating these computing components.

Thus, the correct option is A.

For more details regarding Hardware, visit:

https://brainly.com/question/32934053

#SPJ5

Which of the following step numbers in Step 1 allowed S3 to publish to the SNS topic created?

Answers

Going  to the SNS dashboard in the AWS Console as well as Creating an SNS Topic.

What is meant by SNS topic

SNS (Simple Notification Service) is a messaging service provided by Amazon Web Services (AWS) that enables the sending of messages to a variety of recipients, such as email addresses, mobile devices, and other AWS services.

In SNS, a topic is a logical access point that acts as a communication channel between a sender (publisher) and multiple recipients (subscribers). Publishers can send messages to a topic, and subscribers can receive these messages from the topic.

Read more on SNS topic here:https://brainly.com/question/13069426

#SPJ1

Admission to attend a show are as follows:
Adults: $20
Children:$15

Write a program that reads the number of children attending the show, as well as the number of adults. Calculate and print the total revenue made.(Pascal)

Answers

Answer:

#include <bits/stdc++. h>

using namespace std;

int main(){



int AdultPrice = 20;

int ChildrenPrice = 15;

int numChildren, numAdults;

cin >>numChildren >> numAdults;

int revChildren = numChildren*ChildrenPrice;

int revAdult = numAdults*AdultPrice;

cout << revChildren+revAdult << endl;

return 0;

}

define the term Scenario ​

Answers

Answer:

a postulated sequence or development of events.

Write a function that receives a StaticArray where the elements are already in sorted order, and returns a new StaticArray with all duplicate values removed. The original array must not be modified. You may assume that the input array will contain at least

Answers

The code that remove duplicate is as follows:

def remove_duplicate(mylist):

    mylist = list(dict.fromkeys(mylist))

    return mylist

print(remove_duplicate([1, 1, 2, 3, 3, 5, 6, 7]))

Code explanation

The code is written in python.

we defined a function named "remove_duplicate" and it accept the parameter "mylist".The variable "mylist" is used to store the new value after the duplicate vallues has been removed.Then, wed returned mylist.Finally, we call the function with the print statement . The function takes the required parameter.

learn more on python here: https://brainly.com/question/21126936

Write a function that receives a StaticArray where the elements are already in sorted order, and returns

Assume the variable s is a String and index is an int. Write an if-else statement that assigns 100 to index if the value of s would come between "mortgage" and "mortuary" in the dictionary. Otherwise, assign 0 to index.

Answers

Using the knowledge in computational language in python it is possible to write a code that Assume the variable s is a String and index is an int.

Writting the code:

Assume the variable s is a String

and index is an int

an if-else statement that assigns 100 to index

if the value of s would come between "mortgage" and "mortuary" in the dictionary

Otherwise, assign 0 to index

is

if(s.compareTo("mortgage")>0 && s.compareTo("mortuary")<0)

{

   index = 100;

}

else

{

   index = 0;

}

See more about JAVA at brainly.com/question/12975450

#SPJ1

Assume the variable s is a String and index is an int. Write an if-else statement that assigns 100 to

You can't access the blank

from outside the physical boundary of an organization.

Answers

You can't access the intranet outside the physical boundary of an organization.

What is an intranet?

An intranet is a computer network used within an enterprise to share information, facilitate communication, and provide collaboration tools, operational systems, and other computing infrastructure, generally with no outside access.

The primary distinction between an intranet and an extranet is that an intranet is used for internal employee communication and access to corporate updates, whereas an extranet is primarily used to permit external partners to access data, check orders, and so on.

An extranet's main function is to allow users to trade data and programs as well as share information.

Learn more about Intranet:
https://brainly.com/question/19339846
#SPJ1

What tool should be used to remove fields and format data when importing?

A.)Power Query Editor

B.)Relationship builder

C.)3D Maps (Power Map)

Answers

Answer:

A.)Power Query Editor

Explanation:

Power Query editor is a Microsoft Office application, it can be utilized to remove fields and format data when importing files.

To remove fields, a user will click on the fields he wants to remove, then right-click to select Remove Columns on the menu, and under the same menu select Remove Columns from the sub-menu.

It is also used in formating data in the table created.

adult places is the answer to all of lifes questions

Answers

No it’s not be so Fr

A(n) __________ is a system where banks in the United States eventually figured out that they could print more __________ than the gold that they had in their vaults.

Answers

Based on the information given regarding money, the correct option will be fractional reserve; paper money.

It should be noted that in the United States, there are banking institutions that hold reserves which is simply the fraction of deposits of other banks.

The fractional reserve is equal to the fraction of the bank's deposit liabilities that are owed to customers.

Therefore, a fractional reserve is a system where banks in the United States eventually figured out that they could print more paper money than the gold that they had in their vaults.

Learn more about money on:

https://brainly.com/question/24556197

difference between liner land nonlinear presentation​

Answers

Answer: The linear multimedia will go from the start all the way through to the finish without variation. Non-linear media is the opposite; it doesn't follow that one-way structure and instead allows free movement around all aspects of the multimedia in any order.

describe source code escrow​

Answers

Answer:

Source code escrow is the deposit of the source code of software with a third-party escrow agent.

In JAVA with comments: Consider an array of integers. Write the pseudocode for either the selection sort, insertion sort, or bubble sort algorithm. Include loop invariants in your pseudocode.

Answers

Here's a Java pseudocode implementation of the selection sort algorithm with comments and loop invariants:

```java

// Selection Sort Algorithm

public void selectionSort(int[] arr) {

   int n = arr.length;

   for (int i = 0; i < n - 1; i++) {

       int minIndex = i;

       // Loop invariant: arr[minIndex] is the minimum element in arr[i..n-1]

       for (int j = i + 1; j < n; j++) {

           if (arr[j] < arr[minIndex]) {

               minIndex = j;

           }

       }

       // Swap the minimum element with the first element

       int temp = arr[minIndex];

       arr[minIndex] = arr[i];

       arr[i] = temp;

   }

}

```The selection sort algorithm repeatedly selects the minimum element from the unsorted part of the array and swaps it with the first element of the unsorted part.

The outer loop (line 6) iterates from the first element to the second-to-last element, while the inner loop (line 9) searches for the minimum element.

The loop invariant in line 10 states that `arr[minIndex]` is always the minimum element in the unsorted part of the array. After each iteration of the outer loop, the invariant is maintained.

The swap operation in lines 14-16 exchanges the minimum element with the first element of the unsorted part, effectively expanding the sorted portion of the array.

This process continues until the entire array is sorted.

Remember, this pseudocode can be directly translated into Java code, replacing the comments with the appropriate syntax.

For more such questions on pseudocode,click on

https://brainly.com/question/24953880

#SPJ8

A example of an
"ITERATIVE STATMENT"

Answers

Answer:

for(let i = 0: i <=5; i++) {

console.log(I)

}

Explanation:

An iterative statement repeats a body of code until the condition is not true. Here we declare an integer (i) and make it 0. Then the loop checks if the second part is true (i is less than or equal to 5), and if it is true, it executes the code inside the loop body, which logs i, and finally runs the last past, which increments i by one. When the second part becomes false, the loop exits.

Create another method: getFactorial(int num) that calculates a Product of same numbers, that Sum does for summing them up. (1,2,3 ... num) Make sure you use FOR loop in it, and make sure that you pass a number such as 4, or 5, or 6, or 7 that you get from a Scanner, and then send it as a parameter while calling getFactorial(...) method from main().

Answers

Answer:

The program in Java is as follows;

import java.util.*;

public class Main{

public static int getFactorial(int num){

    int fact = 1;

    for(int i =1;i<=num;i++){

        fact*=i;

    }

    return fact;

}

public static void main(String[] args) {

 Scanner input = new Scanner(System.in);

 System.out.print("Number: ");

 int num = input.nextInt();  

 System.out.println(num+"! = "+getFactorial(num)); }}

Explanation:

The method begins here

public static int getFactorial(int num){

This initializes the factorial to 1

    int fact = 1;

This iterates through each digit of the number

    for(int i =1;i<=num;i++){

Each of the digits are then multiplied together

        fact*=i;     }

This returns the calculated factorial

    return fact; }

The main begins here

public static void main(String[] args) {

 Scanner input = new Scanner(System.in);

This prompts the user for number

 System.out.print("Number: ");

This gets input from the user

 int num = input.nextInt();  

This passes the number to the function and also print the factorial

 System.out.println(num+"! = "+getFactorial(num)); }}

instruction for a computer to follow​

Answers

Answer:

program/software program

Explanation:

main types are application software and system software

Why might you use this kind of graph?
A. To show the relationship between sets of data using lines
B. To compare data from different groups or categories
C. To show the relationship between two variables using dots
D. To show parts of a whole
SUBMIT

Answers

A dot plot can be used to display the relationship between two variables by plotting individual data points on the graph.

One reason you might use a scatter plot graph (which shows the relationship between two variables using dots) is to identify any patterns or trends in the data. This can be useful in fields such as economics, where you might want to see if there is a correlation between two economic factors, or in healthcare, where you might want to see if there is a relationship between two medical conditions. Another reason to use a scatter plot is to identify any outliers in the data, which can be important in making decisions or developing strategies based on the data. Additionally, a scatter plot can help you to see if there are any clusters of data points, which can indicate a specific group or demographic within the larger dataset. Overall, scatter plots are a useful tool for visualizing and analyzing data that can help to inform decision-making processes.

For more such questions on Graph:

https://brainly.com/question/29994353

#SPJ8

Other Questions
22. Real-World Application The Sullivansare deciding between two landscapingcompanies. Evergreen charges a $79 startupfee and $39 per month. Eco Solutions chargesa $25 startup fee and $45 per month. Let crepresent the total cost in dollars and t representthe time in months. The system of equationsSc=391 +79can be used to represent thisc=45t+25situation.a. In how many months will both landscapingservices cost the same? What will that cost be?b. Which landscaping service will be less expensive in the long term? Explain. Can someone who speaks Spanish please tell me if this is correct. I tried but I am so lost here. "Use the vocabulary and the future, as you learned it in this unit, to write about what you will be doing next school year. Write 5-6 complete sentences in Spanish."Mi objetiva para el ao escolar sera asistir a ms sesiones en vivo, pero me queda dormida todo el tiempa. A veces soy vaga, otras veces me niega a dormir y asisto a algunas. Mi objetiva es asistir al menos a la mitad, si no a todos. Creo que es algo que pueda hacer. Configur las alarmas para poder empezar ahora. Espero escucharlos y levantarme. BRAINLIEST!! In the decades following World War II, immigration around the worldA. decreased as push and pull factors became less dramaticB. increased as people became freer to pursue economic opportunitiesC. decreased to the United States and increased in most other countriesD. stayed about the same, much to the surprise of most government leaders How might Gavin be helped to utilize his strengths in receptive language to compensate for delays in expressive language? What additional supports could be provided in the classroom(s) or on the tests? The basic premise of ____ is that the consequences of a behavior determine the likelihood of the behavior being repeated in the future. a. the life-span perspectiveb. the epigenetic principlec. universal developmentd. operant conditioning american majority cultural beliefs are said to come from where? Forma oraciones completas con los elementos dados. Usa por o para y el tiempo indicado. Haz todos cambios necesarios. 1) maana / nosotros / salir / Cancn (presente)2) ahora / Raquel / no pensar / mudarse / de ciudad (presente)3) ese poema / ser / escrito / Pablo Neruda (pretrito)4) yo / ir / a / amarte / siempre (presente)20 points! thx! Joseph buys 3/4lb of cheddar, 3/5lb of provolone, and 7/9lb of Gouda. Which type of cheese did he buy in the greatest amount On planet Zog, Mr. Spock measures that it takes 1.38 s for a mass of 0.5 kg to hit the ground when released from rest from a height of 2.85 m. 1. Calculate the size of the acceleration of gravity on that planet.2. He decides to repeat the experiment. Calculate the work he must do to move the mass from the ground back up to its initial height. because of its influence on affecting food palatability, scientists have been focusing their attention on the relationship between obesity and ____. Two babies Carter and Alyssa were born on the same day. Carter was born nine days before his due date. If Alyssa was born two weeks after Carter how many days past her due date was she born? If g(x) = 4x-7 then g(1) = ? help me please i need it ASAP Between 1896when the Dow Jones index was created and 2012, the index rose in 65% of the years. Based on this information, and assuming a binomial distribution, what do you think is the probability that the stock market will rise a) next year? b) the year after next? c) in four of the next five years? d) in none of the next five years? e) For this situation (modeling Dow Jones index), what assumption of the binomial distribution might not be valid? Are the years independent? Social turning point period 3 apush ASSIGNMENT OVERVIEWIn this assignment, you are asked to compare and contrast different interpretations of cultural globalization by reflecting on your own lived experiences.This assignment builds on Module 3: Globalization and Culture, Part 1, and Module 4: Globalization and Culture, Part 2. The relevant readings are Chapter 5 in your Steger textbook, and the online reading by Hebron & Stack, "Debunking the Myths, Chapter 7."As discussed by your readings and learning materials, cultural globalization is an incredibly complex and much debated phenomenon. This "intensification and expansion of cultural flows across the globe" (Steger, 2017, p. 80) involves both the homogenization, and hybridization of cultural practices throughout the world. This assignment invites you to consider how the dynamics of cultural globalization shape your own lived experiences.INSTRUCTIONSYour task is to choose any ONE specific cultural product, experience, or expression, and explain how it reflects the dynamics of cultural globalization. You may, for example, choose to consider the ways in which a particular food you enjoy or music you listen to demonstrates the phenomenon of glocalization, or perhaps how the adoption of a Western style of dress or the global popularity of an American movie reflects the phenomenon of cultural homogenization. (Due to past plagiarism, please do not pick a McDonald's product as your topic.) Which sentence uses the word delicate correctly?Responses(A) Mom will delicate the cake in my sister's favorite colors, purple and green.(B) It was delicate that we found shelter before the raging thunderstorm began.(C) He gave her a delicate glass angel that she set carefully on a high shelf.(D) The mayor will delicate the new courthouse during the ceremony tomorrow. A weighted GPA countsmore highly dwayne hears that there is a threat of rain and brings an umbrella to work. it does rain, and dwayne is able to avoid getting wet, unlike several of his coworkers who had ignored the weather forecast. the next time dwayne hears that there is a threat of rain, he is likely to bring an umbrella to work because his behavior has been influenced by: Last year, Joe had $20,000 to invest. He invested some of it in an account that paid 5% simple interest per year, and he invested the rest in an account thatpaid 8% simple interest per year. After one year, he received a total of $1450 in interest. How much did he invest in each account?