numA = 0
for count in range(4):
answer = input ("Enter a number: ")
fltAnswer = float(answer)
numA = numA + fltAnswer
print (numA)
Output:

Answers

Answer 1

Answer:

14.0

Explanation:

The code puts each int into a float, and adds them. It ends up as 14.0. not 14.

Answer 2

Answer:

14.0

Explanation:

e2022, the ".0" must be there for it to be correct


Related Questions

program a macro on excel with the values: c=0 is equivalent to A=0 but if b is different from C , A takes these values

Answers

The followng program is capable or configuring a macro in excel

Sub MacroExample()

   Dim A As Integer

   Dim B As Integer

   Dim C As Integer

   

   ' Set initial values

   C = 0

   A = 0

   

   ' Check if B is different from C

   If B <> C Then

       ' Assign values to A

       A = B

   End If

   

   ' Display the values of A and C in the immediate window

   Debug.Print "A = " & A

   Debug.Print "C = " & C

End Sub

How does this work  ?

In this macro, we declare three integer   variables: A, B, and C. We set the initial value of C to 0 and A to 0.Then, we check if B is different from C using the <> operator.

If B is indeed different from C, we assign the value of B to A. Finally, the values of A and C are displayed   in the immediate window using the Debug.Print statements.

Learn more about Excel:
https://brainly.com/question/24749457
#SPJ1

Discuss some of the ways in which analytics assist information systems management as well as the organization at large. What kinds of data are most useful and how is it gathered? How do managers protect customers, clients, and even employees’ personally identifiable information in order for those who may not have permission to view it? How is the data secured in general?

Answers

The ways in which analytics assist information systems management as well as the organization at large are:

It often personalize one's customer experience. It make better business decision-making. It often Streamline operations. It lowers Mitigate risk as well as handle setbacks.

What kinds of data are most useful and how is it gathered?

The types of data that to be most useful to firms are:

Customer dataIT data internal financial data.

They can be gathered through:

Online poolsSurveysTransactional TrackingObservation, etc.

Note that data is secured in general through the use of good security measures and also through security technology.

Learn more about analytics from

https://brainly.com/question/28376706
#SPJ1

What is the defference between a direct and inairect address instruction?

Answers

The difference between a direct and indirect address instruction is given below

What is the difference between a direct and indirect address instruction?

In a computer program, an instruction can be either a direct address instruction or an indirect address instruction.

A direct address instruction is one that tends to specifies the memory location of the data being accessed or the instruction being executed. In this case, the address of the data or instruction is specified directly in the instruction itself.

An indirect address instruction, is one that can be, specified as a memory location that contains the address of the data being accessed or the instruction being executed. In this case, the instruction contains the address of a memory location that holds the actual address of the data or instruction.

Therefore, the the instruction directly specifies the address of the data being accessed, in another case, the instruction specifies the address of a memory location that holds the actual address of the data being accessed.

Learn more about indirect address instruction from

https://brainly.com/question/24368373

#SPJ1

See full question below

What is the difference between a direct and indirect address instruction?

Which is the best example of academic voice?

Cats can make a bunch of crazy sounds, but dogs can only make about ten.
Canada didn’t have a national flag until 1965, when the well-known maple leaf flag was adopted.
One well-known Internet company is famous for providing free and nutritious meals to its employees.
Too much noise can make you really upset and want to scream.

Answers

Answer: C: One well-known Internet company is famous for providing free and nutritious meals to its employees.

Explanation:

Answer:

Explanation:

awnser is c

Does anyone knows how to save a wordart in jpg. in a folder? If you do please answer.​

Answers

Use this link to help

https://www.extendoffice.com/documents/word/4542-word-save-wordart-as-image.html

what is the benefit of Agile?

Answers

Answer:

The benefits of algae is I also don't know .I as also going to ask thanks for point

Add and multiply
wilair converting
following
numbers
to decimal.
in the given base without decimal. (1230)4 and (23) 4​

Answers

Answer:

i dont think this is math it says computer and tech

Draw a UML diagram for the bubble sort algorithm that uses a subalgorithm.
The subalgorithm bubbles the unsorted sublist.

Answers

The UML Diagram for the Bubble Sort Algorithm witha subalgorithm that bubbles the unsorted sublist is:

_______________________

|       BubbleSort     |

|---------------------|

|                     |

| + bubbleSort(arr: array)|

| + bubbleSubAlgorithm(arr: array, start: int, end: int)|

|_____________________|

         /_\

          |

          |

        __|__

        |   |

________|___|________

|       SubAlgorithm   |

|---------------------|

|                     |

| + bubble(arr: array, start: int, end: int)|

|_____________________|

How does this work?

The main class is BubbleSort which contains the bubbleSort method and the bubbleSubAlgorithm method.

bubbleSort is the entry point of the algorithm that takes an array as input and calls the bubbleSubAlgorithm method.

bubbleSubAlgorithm is   the subalgorithm that performs the bubbling operation on the unsorted sublist of the  array. It takes the array, the start index, and the end index of the sublist as input.

Learn more about UML Diagram at:

https://brainly.com/question/13838828

#SPJ1

Tim A client contacted you to avail your services of cable installation. The requirement is to set up a connection which connects workstations to the data room, and the distance between them spans 87 meters. Which of the following cabling methods would be an ideal option for this assignment? Atter 25 ^ O Patch cabling O Horizontal cabling O Plenum cabling es Backbone cabling​

Answers

The cabling methods that would be an ideal option for connecting workstations to the data room is: B. Horizontal cabling.

What is cabling?

Cabling can be defined as a process through which wires that are made of either glass or copper are used for connecting one network device to another, in order to form a computer network and enable them communicate with one another.

The types of cabling methods.

In Computer networking, there are four (4) main types of cabling methods and these include:

Patch cablingPlenum cablingBackbone cabling​Horizontal cabling

Horizontal cabling is typically used for connecting workstations to the data room over a distance of at most 90 meters. Thus, horizontal cabling should be used for a distance between workstations and the data room spanning 87 meters.

Read more on horizontal cabling here: https://brainly.com/question/25337328

Create a Python program that prints all the numbers from 0 to 4 except two distinct numbers entered by the user.
Note : Use 'continue' statement.

Answers

Here is a Python program that prints all numbers from 0 to 4, excluding two distinct numbers entered by the user, using the 'continue' statement:

```python

numbers_to_exclude = []

# Get two distinct numbers from the user

for i in range(2):

   num = int(input("Enter a number to exclude: "))

   numbers_to_exclude.append(num)

# Print numbers from 0 to 4, excluding the user-entered numbers

for i in range(5):

   if i in numbers_to_exclude:

       continue

   print(i)

```

The program first initializes an empty list called `numbers_to_exclude` to store the two distinct numbers entered by the user.

Next, a loop is used to prompt the user to enter two distinct numbers. These numbers are appended to the `numbers_to_exclude` list.

Then, another loop is used to iterate through the numbers from 0 to 4. Inside the loop, an 'if' condition is used to check if the current number is in the `numbers_to_exclude` list. If it is, the 'continue' statement is executed, which skips the current iteration and proceeds to the next iteration of the loop.

If the current number is not in the `numbers_to_exclude` list, the 'print' statement is executed, and the number is printed.

This program ensures that the two distinct numbers entered by the user are excluded from the output, while all other numbers from 0 to 4 are printed.

For more such answers on Python

https://brainly.com/question/26497128

#SPJ8

import sys

sys.argv([0])

sentence = str(sys.argv([1])

def longest_word(sentence):
longest_word = max(sentence, key=len)
return longest_word

print("Longest word is: ", sentence)

I keep getting an error where it states
def longest_word(sentence):
^
SyntaxError: invalid syntax
Please help me where I went wrong.

Answers

The error in your code is that you are missing the : at the end of the if statement

The corrected code:

def find_longest_word(word_list):  

   longest_word = ''  

   longest_size = 0  

   for word in word_list:    

       if (len(word) > longest_size):

           longest_word = word

           longest_size = len(word)      

   return longest_word

words = input('Please enter a few words')  

word_list = words.split()  

find_longest_word(word_list)

Read more about python programming  here:

https://brainly.com/question/26497128

#SPJ1

How will understanding IT help me achieve my goals in life?

Answers

I have reported this question. Only because brainly advises me to. Please do not let this offend you. I am just doing what the brainly brochure says.

A large computer repair company with several branches around Texas, TexTech Inc. (TTi), is looking to expand their business into retail. TTi plans to buy parts, assemble and sell computer equipment that includes desktops, monitors/displays, laptops, mobile phones and tablets. It also plans to sell maintenance plans for the equipment it sells that includes 90-day money back guarantee, 12-month cost-free repairs for any manufacturing defects, and annual subscription for repairs afterwards at $100 dollars per year. As part of a sales & marketing campaign to generate interest, TTi is looking to sell equipment in 5 different packages: 1. Desktop computer, monitor and printer 2. Laptop and printer 3. Phone and tablet 4. Laptop and Phone 5. Desktop computer, monitor and tablet TTi plans to sell these packages to consumers and to small-and-medium businesses (SMB). It also plans to offer 3-year lease terms to SMB customers wherein they can return all equipment to the company at the end of 3 years at no cost as long as they agree to enter into a new 3-year lease agreement. TTi has rented a warehouse to hold its inventory and entered into contracts with several manufacturers in China and Taiwan to obtain high-quality parts at a reasonable price. It has also hired 5 sales people and doubled its repair workforce to meet the anticipated increase in business. TTi has realized that it can no longer use Excel spreadsheets to meet their data and information needs. It is looking to use open source and has decided to develop an application using Python and MySQL. Your team has been brought in to design a database that can meet all of its data needs. Create a report that contains the following:

Required:
a. Data requirements of TTi: What are the critical data requirements based on your understanding of TTI business scenario described above.
b. Key Entities and their relationships
c. A conceptual data model in MySQL

Answers

Answer:

hecks

Explanation:

nah

Write code that outputs variable numTickets. End with a new line (Java) output 2 and 5

Answers

Answer:

public class Main {

public static void main(String[] args) {

int numTickets = 2;

System.out.println(numTickets);

numTickets = 5;

System.out.println(numTickets);

}

}

Which operation will remove the originally selected information?
O Duplicate
O Copy
O Paste
O Cut

Answers

Answer:

D. the cut command

Explanation:

Which of the below are examples of control structures?
(1) if
(II) if/else
(III) while
(IV) for
I only
I and II only
III and I only
I, II, III, and IV

Answers

Answer: (I) if, (II) if/else, (III) while, (IV) for

D. I, II, III, and IV

May I have brainliest please?

develop an algorithm to compute and print out the average of 3 numbers A,B,C​

Answers

Answer:

Input: Take 3 numbers A, B and C

Processing: Find average of 3 numbers using formula: Average= A+B+C/3

Output: The output is Average of three numbers.

Explanation:

We need to write an algorithm to compute and print out the average of 3 numbers A,B,C​

An algorithm has Input, Processing and Output

The algorithm required is:

Input: Take 3 numbers A, B and C

Processing: Find average of 3 numbers using formula: Average= A+B+C/3

Output: The output is Average of three numbers.

Which meter would you use to determine which lamp is defective in the shortest possible time? Explain how you would use this meter and why.

Answers

Answer:

bla bla bla bla

Explanation:

I dont anther stand

What kind of skill is persuasion?


neutral skill

hard skill

soft skill

high skill

Answers

Answer:

soft skill

Explanation:

The Greater Than sign (>) is an example of
operator.

Answers

Answer:

logical

Explanation:

the greater than sign (>) is an example of logical operator.

A > sign asks if the first value is greater than the second value. That is, is the value or expression to the left of the > sign greater than the value or expression to the right side? For example, the statement (A > B) is true if A is greater than B

https://brainly.in/question/6901230

How did early computing device such as Charles Babbage's analytical engine and Ada Lovelace's contributions set the foundation for modern computing

Answers

Early computing devices, such as Charles Babbage's Analytical Engine and Ada Lovelace's contributions, played a crucial role in setting the foundation for modern computing. Here's how their work contributed to computing development:

1. Charles Babbage's Analytical Engine: Babbage designed the Analytical Engine, a mechanical general-purpose computer concept, in the 19th century. Although the Analytical Engine was never fully built, its design and principles laid the groundwork for modern computers. Key features of the analytical engine include:

a. Stored Program: Babbage's Analytical Engine introduced the concept of storing instructions and data in memory, allowing complex calculations and tasks.

b.  Control Flow: The Analytical Engine could make decisions and perform conditional operations based on previous computations, resembling the modern concept of control flow in programming.

c. Loops: Babbage's design incorporated looping mechanisms, enabling repetitive instruction execution, similar to modern programming languages.

2. Ada Lovelace's Contributions: Ada Lovelace, an English mathematician, collaborated with Charles Babbage and made significant contributions to computing. Her work on Babbage's Analytical Engine included writing the first algorithm intended for machine implementation. Lovelace realized the potential of the analytical engine beyond numerical calculations and recognized its capability for processing symbols and creating complex algorithms. Her insights laid the foundation for computer programming and algorithms.

Lovelace's ideas about the analytical engine extended beyond what was initially envisioned. He stressed the importance of machines handling more than just numbers. Her contributions demonstrated computers' potential to perform tasks beyond basic calculations and numerical processing.

Collectively, Babbage's analytical engine and Lovelace's contributions provided early conceptual frameworks for modern computing. Their ideas influenced subsequent pioneers in the field, and the concepts they introduced paved the way for the development of the digital computers we use today.

sa kumbensiyon naihalal si andres bonofacio bilang​

Answers

Answer:

the contemporary Supremo (supreme leader) of the Katipunan

Which of the following are examples of how a company might use consumer data it had collected? a To decide what types of products it should make. b To decide where to open a new store. c To decide how much to charge for their products. d None of the choices

Answers

Answer:

A. To decide what types of products it should make

Explanation:

Answer:

D. All of the above

true or false. Two of the main differences between storage and memory is that storage is usually very expensive, but very fast to access.​

Answers

Answer:

False. in fact, the two main differences would have to be that memory is violate, meaning that data is lost when the power is turned off and also memory is faster to access than storage.

Assume a file containing a series of integers is named numbers.txt and exists on the computer’s disk. Write a program that reads all of the numbers stored in the file, calculates their total and displays it.


Very Important: The file could have any number of numbers, so you need to use a loop to process the data in the file

Answers

#include <iostream>

#include <fstream>

using namespace std;

int main(){

   int x, sum=0;

ifstream f("numbers.txt");

while(!f.eof()){

       f >> x;

       sum +=x;

}

cout << "Sum : " << sum;

}

This is a C++ program.

Next time be more precise on the programming language you want

Using recursion, write a program that asks a user to enter the starting coordinates (row, then column), the ending coordinates (row then column), and calculates the number of paths from the starting coordinate to the ending coordinate.

Answers

Answer:

The program in Python is as follows

def Paths(row,col):

if row ==0 or col==0:

 return 1

return (Paths(row-1, col) + Paths(row, col-1))

row = int(input("Row: "))

col = int(input("Column: "))

print("Paths: ", Paths(row,col))

Explanation:

This defines the function

def Paths(row,col):

If row or column is 0, the function returns 1

if row ==0 or col==0:

 return 1

This calls the function recursively, as long as row and col are greater than 1

return (Paths(row-1, col) + Paths(row, col-1))

The main begins here

This prompts the user for rows

row = int(input("Row: "))

This prompts the user for columns

col = int(input("Column: "))

This calls the Paths function and prints the number of paths

print("Paths: ", Paths(row,col))

can someone help me find the output

can someone help me find the output

Answers

The code will have a syntax error on line 3

What is the output of the code

The code has a syntax error on line 3 as there is an assignment operator instead of a comparison operator in the while loop condition. It should be 'while (k < 4)' instead of 'while (k = 4)' to check if the value of 'k' is less than 4.

Assuming this syntax error is corrected, the output of the code will be 1. This is because the loop will iterate four times, adding 1 to the 'sum' variable each time, resulting in a total of 4. However, the 'sum' variable is not printed to the console, and the 'write' function on line 8 is undefined, so nothing will be output to the console.

Learn more on syntax error here;

https://brainly.com/question/29883846

#SPJ1

a text arranged in a one-letter column is called a

Answers

A text arranged in a one-letter column is called a monostich. A monostich is a single-line poem that typically consists of one sentence or phrase. It is a concise form of poetry that is intended to convey a message or evoke a particular emotion in the reader.

Monostichs are often used in modern poetry to express ideas in a minimalist and direct way. They are especially popular among poets who value brevity and want to create a powerful impact with a limited amount of words. The form allows for a great deal of creativity, as poets can experiment with structure, tone, and meaning to convey their message.

Despite its simplicity, the monostich form can be challenging to write. Poets must choose their words carefully and craft each line with precision to ensure that the poem has the desired effect on the reader. However, with practice, writers can learn to use this form to great effect and create powerful and memorable poetry.

Overall, the monostich is a unique and versatile form of poetry that has become increasingly popular in recent years. It offers poets a simple yet effective way to convey their ideas and emotions, and it can be used in a wide variety of contexts and genres.

For more such questions on text arranged, click on:

https://brainly.com/question/1569649

#SPJ8

Anne needs to record the results of a business project that requires the analysis of varying or multiple changes. Which graph or chart can she use in a spreadsheet?
Anne can use
to record the results of a business project in a spreadsheet. It measures immediate or minute
of an event and plots the points using two axes.

Answers

Anne can use SCATTER PLOT GRAPH to record the results of a business project in a spreadsheet. It measures immediate or minute VALUES of an event and plots the points using two axes.

What is a scatter plot graph used for?

A person can be able to determine the link or correlation between two variables using a scatter plot. If  you attempting to determine whether the combination of your two variables might mean anything, you can be able to find out if there might be a relationship between your data points by plotting a scattergram with them.

The graphs that show the association between two variables in a data set are called scatter plots. It displays data points either on a Cartesian system or a two-dimensional plane.

Therefore, in the case of Anne, when two data sets need to be compared to one another to determine whether there is a relationship, a scatter analysis is used. She can plot the data points on a graph, you get a scattering of points that represent the relationship.

Learn more about scatter plot graph from

https://brainly.com/question/27874837


#SPJ1

See full question below

Anne needs to record the results of a science project that requires the analysis of varying or multiple changes. What graph or chart can she use in a spreadsheet?

Anne can use _______ (line graph , column chart , scatter plot graph) to record the results of a science project in a spreadsheet. It measures immediate or minute ______ (values , changes , sequences) of an event and plots the points using two axes.

Proper humidity and temperature for information systems equipment is an example of what type of security?
A. Perimeter security
B. Physical security
C. Administrative security
D. Technical security

Answers

Answer:

Administrative security

Other Questions
Consider the following statement: String myMiddleInitial = "h";Is it correct? If not, what should the syntax be? during the period of the roman empire, the arabian peninsula was dominated by the In a class, there are 30 students who like chocolate, 25 students who like vanilla, and12 students who like neither. If there are 55 people in the class, how many studentslike chocolate and vanilla? What are the 3 natural rights mentioned in the Declaration Of Independence? Please Explain each. assuming that a2 is the magnitude of the horizontal acceleration of the block of mass m2 , what is t , the tension in the string? express the tension in terms of m2 and a2 . Page 3 of 17Please read and answer each question carefully.3. Your personal values, or your morals and bellefs, often drive ethical decisions--even in the workplace. what are the names for the following compounds:NACI, KCI, CUF, FES, CA(OHS), CACO As production increases, the fixed cost per unit:a. decreasesb. increasesc. either increases or decreases, depending on the variable costsd. remains the same gourmet pizza shop with aQuestion 19What type of competition does Netflix and a movie theater represent for each other?A Weak direct competitionB Strong direct competitionC Indirect competitionD Global competition I am hungry and go to a restaurant with my friends. We have been here before so I am familiar with the menu. The waitress comes up to take our order and rather than giving the menu a close look, I just order something that I have hart before, that I know will be good - or at least good enough. This is known as: o D beunste confirmation bias implicit favorite Sat stang InstructionsLook up(search for) the following words and learn to spell:1. Incinerator.2. Compositing.3. Emission.4. Biodegradable refuse.5. Non-biodegradable refuse. Advantage of using a resource person During meiosis, genetic diversity results from which of the following processes? recombination via crossing over independent assortment of chromosomes replication of the cell's DNA Will give Brainliest and points!!!!The amount of laps remaining, y, in a swimmer's race after x minutes can be represented by the graph shown.coordinate grid with the x axis labeled time in minutes and the y axis labeled number of laps remaining with a line from 0 comma 24 and 6 comma 0Determine the slope of the line and explain its meaning in terms of the real-world scenario. The slope of the line is 6, which means that the swimmer will finish the race after 6 minutes. The slope of the line is 24, which means that the swimmer must complete 24 laps in the race. The slope of the line is 4, which means that the swimmer will complete 4 laps every minute. The slope of the line is negative one fourth, which means that the swimmer completes a lap in one fourth of a minute. A cube has a side length of 8 in select all values that represent the cube's volume in cubic inches At what temperature do saturated solutions of potassium nitrate (KNO3) and sodium nitrate (NaNO3) contain the same weight of solute per 100 mL of water? I need help so please help write a story giving a moral`mutual cooperation always help. Case study :Jackie and Sandra began a long-term-care consulting firm 5 years ago in a retirement region. They now have six employees: two RHIAs and four RHITs. They now have consulting contracts with 35 long-term-care facilities and have developed a reputation for excellence. During a meeting with employees, Jackie and Sandra commended them for the effort each had contributed to the success of the firm. In planning for the future, Jackie and Sandra then asked the employees to share with them ideas on expanding the business by revising the vision. One option they had discussed and now shared was that of expanding their geographic region into another state. This would mean actively marketing to long-term-care facilities beyond their present region and hiring additional staff. Bryan said he had been listening to employee conversations at a nearby hospital and learned that there was a need for additional home health care personnel and resources in the region. Hospital utilization management staff expressed concern with the difficulty of referring patients promptly to home health care firms. Bryan thought developing and managing home health care as a separate cost center would fill this market niche and offer challenges to each of them. Ann shared an experience she had at one of the nursing homes. Two physicians were telling her how difficult it was to hire knowledgeable office staff and retain them. Ann suggested expanding their business into physician offices. She felt they had the expertise to manage practice offices and train competent staff. Ann further stated that when she mentioned this to a physical therapist who recently joined a group of fellow therapists in opening an office, her friend responded that such a service would be welcomed by them also. Then he related the difficulty they were having finding competent office managers. Jackie, Sandra, and their staff have three options to consider as they undertake strategic planning.Case Questions:Q3 - Choose one of the three options and defend WHY this one was chosen with at 2 convincing reasons. (Remember this is worth 35 points so it needs detail). In a topographically homogeneous watershed, a total four number of non- recording rain gauges have been installed for rainfall measurements. The observations of those gauges during a given rainfall event were 250,175, 225, and 270mm, respectively. Determine the mean areal rainfall of the watershed for the said rainfall event.