Prepare an algorithm and draw a corresponding flowchart to compute the
mean value of all odd numbers between 1 and 100 inclusive.

Answers

Answer 1

Answer:

Algorithm :

1.START

2. sum=0 ; n=1 ; length = 1

3. sum = sum + n

4. n = n + 2

5. length = length + 1

6. Repeat steps 3, 4 and 5 until n <= 99

7. mean = sum / length

8. print(mean)

Explanation:

Sum initializes the addition of the odd numbers

n starts from 1 and increments by 2, this means every n value is a odd number

The condition n <= 99 ensures the loop isn't above range isn't above 100 ;

The length variable, counts the number of odd values

Mean is obtained by dividing the SUM by the number of odd values.


Related Questions

Explain the purpose of the open() and close() operations.

Answers

Answer:

The open() operation notifies the system that the named file is about to become active. The close() operation notifies the system that the named file is no longer in active use by the user who issued the close operation.

Chất xơ có nhiều trong thực phẩm nào?

Answers

Answer: rau củ quả đều có lượng chất xơ nhiều hơn so với các loại thực phẩn khác

Explanation:

I connected to an external hard drive to transfer some photos from my vacation. When I try to drag the photo, it bounces right back and does not transfer. What is the likely cause of this issue?

a. hard drive is full

b. photos were taken in a different country

c. USB port is broken

d. the file structure of the 2 hard drives are not compatible

Answers

Your answer is D.

Hope this helps and if you could answer the question I just uploaded titled giving brainliest that would be great. Basically, what you have to do is research why the book titled the list of things that will not change and explain why it’s your favorite book based on the message it tells you! Go to my profile and go to questions.

The answer is D, What is the likely cause of this issue is that the file structure of the two hard drives are not compatible.

The file structure or file system, of a hard drive, tells the disk how to read, write and store information on the drive. Some file systems do not allow the disk to store any files and often do not display error messages. If we try to drag a file onto a hard drive with this kind of file structure, the action would simply not be performed. This can be fixed by formatting the disk partition into a new file system.

Option B states that the issue may be that the photos were taken in a different country. This is not the cause of the problem because regardless of where the pictures are taken, they are all stored in common formats such as:

JPEGPNGJFIF

Any external hard drive capable of storing images will have the ability to receive files in these formats as well as many other image formats. For this reason, option B is False.

The question states that you were able to connect the external Hard drive and drag files onto it, though unsuccessfully. This tells us that the USB port is working as intended, if it were not working, it would not display the Hard drive onto the computer and we would not be able to drag files to it. Therefore, option C is false

Insufficient Hard drive storage space is a common issue in not being able to transfer files between hard drives. However, if this were the case, the user would be shown a message displaying the error. The message may look like:

"Insufficient space on the disk.""The Disk is full.""Not enough memory to complete this action"

The exact wording may vary depending on the operating system in use. Since the question states that the files simply "bounces back" without an error message displaying, we can infer that option A is false.

For more help with Hard drive issues see: https://brainly.com/question/14254444?referrer=searchResults

Type the correct answer in the box. Spell all words correctly.
Which testing requires coding the test cases into a scripting language?
testing requires coding the test cases into a scripting language.

Answers

Answer:

sorry I forgot it

Explanation:

because I am now in a last position

Select the correct statement(s) regarding IP addressing.
a. IPv4 and IPv6 addressing is fully compatible with one another.
b. CIDR address format represents a Class C network only used within an intranet.
c. Subnet masks are used with both class and classless IP addresses.
d. all statements are correct.

Answers

Yeah the answer is b

Subnet masks are used with both class and classless IP addresses is the correct statement. Therefore, the correct option is C.

What is an IP address?

A device on the internet or a local network may be identified by its IP address, which is a special address. The rules defining the format of data delivered over the internet or a local network are known as “Internet Protocol,” or IP.

Only C is correct, rest other statements are incorrect because:

a. IPv4 and IPv6 addressing is fully compatible with one another is incorrect. While IPv4 and IPv6 can coexist on the same network, they are not fully compatible with one another.

b. CIDR address format represents a Class C network only used within an intranet is incorrect. Classless Inter-Domain Routing (CIDR) is a technique used to allocate IP addresses more efficiently.

Therefore, subnet masks are used with both class and classless IP addresses is the correct statement. Therefore, the correct option is C.

Learn more about,  here

https://brainly.com/question/3805118

#SPJ6

If you are to enhance the ICT used by your teachers, how will ypu do it? Will you use the same ICT or will you modify how it was integrated?​

Answers

To enhance the ICT (Information Communication Technology) used by teachers, I will modify how the ICT was integrated.

The modification of how ICT is integrated will change the culture that places teaching over technology.  Then, teachers will be taught how to use ICT to:

improve learning so that teachers become learning facilitatorsmotivate learners by fostering learning autonomy, making students less dependent on the teacherengage the learners by creating collaborative learningdiminish content learning so that students learn to think, create, and communicate effectivelymake learning a lifetime culture enhance the learning environment so that teachers become collaborators and co-learners with students.

Thus, I will enhance the ICT used by teachers by modifying its integration to achieve better results for both teachers and learners.

Learn more about the importance of ICT here: https://brainly.com/question/13724249

The program is the set of instructions a computer obeys

Answers

Answer:

True

Explanation:

a program is basicly just a list of commands you can run over and over again.

What Causes #### error?​

Answers

Answer:

The answer is below

Explanation:

Causes of ####error in Microsoft Excel can be traced to multiple sources. The major causes of #### error in Microsoft Excel, however, are the following:

1. When the column is not wide enough to show all values or figures of the cell contents.

2. When there are too many decimal places of the figure in a cell

3. When the date value in the cell is negative

4. When the time value in the cell is negative.

Fit a boosting model to the training set with Purchase as the response and the other variables as predictors. Use 1,000 trees, and a shrinkage value of 0.01. Which predictors appear to be the most important

Answers

Answer and Explanation:

For the training set consist of 1000 observations, let's have a set consist of the observations such as sets.seed train boost.caravan gbm(Purchase., data = Caravan.train , distribution = "gaussian" , n trees = 1000 summary(boost.caravan) The tree classification such as tree(formula = Purchase data - train where variable are used in tree construction and number of terminal nodes 0 and deviance is 0.7 and error is 0.165

How to prepare and draw a corresponding flowchart to compute the sum and product of all prime numbers between 1 and 50

Answers

Answer:

Create boxes with the following content

Initialize sum to 0, product to 1 and number to 1Check if number is a prime. If yes, update sum += number and product *= numberIncrease number by 1If number is <= 50, go back to "check" block.

The check block has a diamond shape.

At the "yes" branch of the check block, you can create separate blocks for updating the sum and the product.

Connect the blocks using arrows.

Indicate the start and the end of the flow using the appropriate symbols.

The block to check if a number is a prime you could further decompose into the steps needed to do such a check.

hi, please help me.solution.​

Answers

Answer:

aahdbdnsjajaissjdjdhskakwjdhbebs

Code Example 9-1 struct Product { string name; double price; int quantity; }; (Refer to Code Example 9-1.) Given a Product object named product, which of the following statements would you use to display the value of the name data member on the console? a. cout << product::name; b. cout << product.name; c. cout << product("name"); d. cout << product[0];

Answers

Answer:

a. cout << Product ::name;

Explanation:

Computer software use different languages which helps user to initiate command. When a user initiates command the results are displayed according to input command. If product name is required as output then insert command should be product::name; this will display names of different products present in the system.

An error due to wrong input by the user

Answers

Answer:

when did it take place..

Sydnee would like a chart to appear once in her report, but she is having wouble making this occur She does not understand why the chart is showing multiple times in the report. What is most likely causing the problem?

O The chart is placed in the header and footer of a database
O The chart is placed in the field of a database.
O The chart is placed in a database with one group
O The chart is placed in a database with five groups​

Answers

AnswerSydnee would like a chart to appear once in her report, but she is having wouble making this occur She does not understand why the chart is showing multiple times in the report. What is most likely causing the problem? a chart to appear once in her report, but she is having wouble making this occur She does not understand why the chart is showing multiple times in the report. What is most likely causing the problem?

a chart to appear once in her report, but she is having wouble making this occur She does not understand why the chart is showing multiple times in the report. What is most likely causing the problem?

O The chart is placed in the header and footer of a database

O The chart is placed in th a chart to appear once in her report, but she is having wouble making this occur She does not understand why the chart is showing multiple times in the report. What is most likely causing the problem? a chart to appear once in her report, but she is having wouble making this occur She does not understand why the chart is showing multiple times in the report. What is most likely causing the problem?

O The chart is placed in the header and footer of a database

O The chart is placed in the field of a database.

O The chart is placed in a database with one group

O The chart is placed

O The chart is placed in the header and footer of a database

O The chart is placed in the field of a database.

O The chart is placed in a database with one group

O The chart is placede field of a database.

O The chart is placed in a database with one group

O The chart is placed

O The chart is placed in the header and footer of a database

O The chart is placed in the field of a database.

O The chart is placed in a database with one group

O The chart is placed

O The chart is placed in the header and footer of a database

O The chart is placed in the field of a database.

O The chart is placed in a database with one group

O The chart is placed in a database with five groups​ :nce in her report, but she is having wouble making this occur She does not understand why the chart is showing multiple times in the report. What is most likely causing the problem?

O The chart is placed in the header and footer of a database

O The chart is placed in the field of a database.

O The chart is placed in a database with one group

O The chart is placed in a database with five groups​

Hold on, our servers are swamped. Wait for your answer to fully load.

Explanation:

Sydnee would like a chart to appear once in her report, but she is having wouble making this occur She does not understand why the chart is showing multiple times in the report. What is most likely causing the problem?

O The chart is placed in the header and footer of a database

O The chart is placed in the field of a database.

O The chart is placed in a database with one group a chart to appear once in her report, but she is having wouble making this occur She does not understand why the chart is showing multiple times in the report. What is most likely causing the problem?

a chart to appear once in her report, but she is having wouble making this occur She does not understand why the chart is showing multiple times in the report. What is most likely causing the problem? a chart to appear once in her report, but she is having wouble making this occur She does not understand why the chart is showing multiple times in the report. What is most likely causing the problem?

a chart to appear once in her report, but she is having wouble making this occur She does not understand why the chart is showing multiple times in the report. What is most likely causing the problem?

O The chart is placed in the header and footer of a database

O The chart is placed in the field of a database.

O The chart is placed in a database with one group

O The chart is placed

O The chart is placed in the header and footer of a database

O The chart is placed in the field of a database.

O The chart is placed in a database with one group

O The chart is placed

O The chart is placed in the header and footer of a database

O The chart is placed in the field of a database.

O The chart is placed in a database with one group

O The chart is placed

O The chart is placed in the header and footer of a database

O The chart is placed in the field of a database.

O The chart is placed in a database with one group

O The chart is placed

O The chart is placed in a database with five groups​

In the home tab under the paragraph group of options what are you unable to do?

Answers

Im not sure what this is?? Maybe add a picture or more context! ❤️

Argue whether we can infer anything about a candidate’s ability to work in a professional environment based on his or her resume’s formatting.
Compare how you would address a resume with wacky fonts to how you would respond to grammatical errors in a resume.

Answers

Answer:

when dressing feaded back is postive and then list areas of inprovmenr to met the job requirements

Explanation:

What is indirect program memory addressing? Explain the working of the following instructions?

a) JMP AX
b) JMP LIST[DX]
c) JMP NEAR PTR[DI+3]

Answers

Indirect main memory addressing is described as the method in which the variable's address is stored in a mind register and also a command is utilized to point towards the memory registers which hold the register. Instruction is used to direct towards a register that displays the results of the variables. The register, in turn, refers to that variable's address in simplistic words. As just a result, it is indeed considered a passive program, memory address.

The instructions operate as follows:

a)

JMP AX :

The JMP instruction is being used to execute an unconditional jump.AX is indeed the label's name. JMP AX codes are being used to transfer control of the flow program to the AX label.

b)

JMP LIST:

The JMP command can be used to execute an unconditional jump, JMP LIST[DX] is the label's name.  The JMP LIST[DX] program is being used to transfer control of its flow programs to the specified section. It is the segment to which the flow control is transmitted.

c)

JMP NEAR PTR[DI+3]: 

Unconditional jumps could be done with the JMP command as you'll see, the label is JMP NEAR PTR[DI+3]. It's being used to transmit flow control to a particular section, throughout this case [DI+3]. The close keyword indicates that perhaps the code segment would be in the line of code being nearby.

Learn more:

brainly.com/question/20320915

Which one is the result of the ouWhen you move a file to the Recycle Bin, it will be immediately deleted from your computer.

A. True

B. Fals

Answers

Answer:

B => false

Explanation:

it just keep it on recycle bin => not being removed

False

Explaination :

The deleted file will stay in Recycle Bin for a short period of time before it's permanently deleted from your computer

Write equivalent predicate statement for Every teacher who is also a painter loves Bob​

Answers

Answer:

Every teacher who is also a painter loves Bob

I have no idea how to answer this question so I’m just gonna

mk chưa hiểu nên các bạn giúp mk vs

Answers

Answer:

my tab and state it all over my name to

Write a program that asks the user to enter in a username and then examines that username to make sure it complies with the rules above. Here's a sample running of the program - note that you want to keep prompting the user until they supply you with a valid username:

Answers

user_in = input ("Please enter your username: " )

if user_in in "0123456789":

print ("Username cannot contain numbers")

elif user_in in "?":

print ("Username cannot continue special character")

else:

print (" Welcome to your ghetto, {0}! ".format(user_in))

What’s cloud-based LinkedIn automation?

Answers

Answer:

Cloud based LinkedIn automation includes tools and software that run through the cloud-system and are not detectable by LinkedIn. Cloud based LinkedIn automation tools are becoming the favorite among B2B marketers and sales professionals as they are giving the desired outcomes without any effort.

how did hitles rules in nazi germany exemplify totiltarian rule?

Answers

Answer:

hope this helps if not srry

The analog computer deals directly with

Answers

continuously variable aspects of physical phenomena such as a electrical, mechanical etc.

The analog computer deals directly with measured values of continuous physical magnitude.

What is an Analog computer?

An analog computer may be defined as a type of computer that is significantly used to process analog data. These computers store data as a continuum of physical quantities and perform calculations using measurements.

It is completely different from digital computers, which use symbolic numbers to represent results. are great for situations that require data to be measured directly without conversion to numbers or codes. Analog computers, although readily available and used in scientific and industrial applications such as control systems and aircraft, have largely been superseded by digital computers due to the many complications involved.

Therefore, the analog computer deals directly with measured values of continuous physical magnitude.

To learn more about Analog computers, refer to the link:

https://brainly.com/question/18943642

#SPJ2

Your question seems incomplete. The most probable complete question is as follows:

The analog computer deals directly with:

number or codes.measured values of continuous physical magnitude.signals in the form of 0 or 1.signals in discrete values from 0 to 9

By Using the following schema, answer the following SQL queries and commands: Product(P_code.P_name, P_price, P_on_hand,vend_code) Vender(vend_code, vend_fname, vend_areacode, vend_phone) 1- find the venders names who sell products in TN-5 area and their names include "dan". 2- find the code, name and vender code of product that has price between 1500S and 2500S and the product that has price between 48005 and 5600S. 3- Find the name, and code of venders who had 5 microwaves that has price less than 3500S. 4- Find the phone numbers of venders who sell Televisions. 5- Delete the records of venders who their first name is 'smith'

Answers

Explanation:

answer me pls i need sol bbbd

Describe two types of storage devices?​

Answers

Answer:

Central Process Unit and Random Access Memory

Which Windows installation method requires that you manually rename computers after the installation?​

Answers

Answer:

Command line

Explanation:

After installation of the machine one needs to manually rename the computer. This can be done through the start then settings, then system, and select rename the PC in the right-hand side column.

5. Which events is used to code on any form load
a) Form Text b) Form Code c) Form Load d) Form Data

Answers

Answer:

I think b is correct answer

when was first generation of computer invented? ​

Answers

Introduction: 1946-1959 is the period of first generation computer. J.P.Eckert and J.W. Mauchy invented the first successful electronic computer called ENIAC, ENIAC stands for “Electronic Numeric Integrated And Calculator”.

What are computer programs that make it easy to use and benefit from techniques and to faithfully follow the guidelines of the overall development methodology

Answers

Answer:

A Tool

Explanation:

Tools are computer programs that make it simple to use and benefit from techniques while adhering to the overall development methodology's guidelines. The correct option is A).

What are computer programs?

A computer-aided software development case tool is a piece of software that aids in the design and development of information systems. It can be used to document a database structure and provide invaluable assistance in maintaining design consistency.

A computer software application is one that is developed to assist a particular organizational function or process, such as payroll systems, market analysis, and inventory control.

The goal of introducing case tools is to reduce the time and cost of software development, while also improving the quality of the systems created.

Therefore, the correct option is A) Tools.

To learn more about computer programs, refer to the below link:

https://brainly.com/question/9963733

#SPJ2

The question is incomplete. Your most probably complete question is given below:

A) Tools

B) Techniques

C) Data flow

D) Methodologies

Other Questions
2. What was the turning point in American History that led to the drafting of the US Constitution? A sailor runs out of drinking water in the middle of the sea.He cannot drink seawater directly to avoid drhydration.How can you help the sailor to obtain pure water from seawater by using a container, a plastic bag, a stone and a glass? many Black pencils cost N75 each and coloured pencils cost N105 each. If 24 mixed pencils cost #2010, how of them were black? (Hint: Let there be x black pencils. Thus there are 24 - x) coloured pencils.) (2 + i)-(4 - 6/)(-3 +3/) What is the name of a type of nucleic acid that is used for signalling in cells Qu relacin hay entre el sentido de nuestra existencia con el sentido del mundo?el trabajo es de filosofia ayudenme porfavor An ice-skater with a mass of 80kg is holding a bowling ball with a mass of 8 kg. Suppose that the skater tosses the bowling ball forward with a speed of 6 m/s. What is the skater's reactive velocity? Show all work. If you shift the quadratic parent function, f(x) = x2 right 12 units, what is theequation of the new function?A. (x) = x2 - 12B. AX) = (x + 12)C. (x) = y2 + 12D. (X) = (x - 12)SUBMIT Valley Technology Balance Sheet As of January 24, 2021 (amounts in thousands) Cash 9,700 Accounts Payable 1,500 Accounts Receivable 4,500 Debt 2,900 Inventory 3,800 Other Liabilities 800 Property Plant & Equipment 16,400 Total Liabilities 5,200Other Assets 1,700 Paid-In Capital 7,300 Retained Earnings 23,600 Total Equity 30,900Total Assets 36,100 Total Liabilities & Equity 36,100Record the transactions in a journal, transfer the journal entries to T-accounts, compute closing amounts for the T-accounts, and construct a balance sheet to answer the question.Jan 25. Sell product for $30,000 in cash with historical cost of $24,000Jan 26. Sell, deliver, and receive payment of $40,000 for serviceJan 27. Consume good or service and pay expense of $2,000What is the final amount in Total Liabilities & Equity? please help me solve the equations, I re-wrote the question under each of them so you can read it better. Ty Simplify: 4- (3 1)2 - 6 2 4 2. Combine like terms: 7x3 2x - 5x2 6 x 9 3x3 12x2 3. Simplify: (2x5- ... Multiply: 3x2(4x3 - 2x2 7x - 4) 5. Evaluate: 6x2 ... What uses non-renewable energy?A)a gematrical heating systemB)a nuclear power stationC)a solar panelD)a wind turbine 300g de acido comercial se disuelve en agua destilada contenidos en un cono, cuyo radio es de 0.005Km y 300cm de altura, si la densidades de 1.2g/m3 Cul es la concentracin expresada en %m/m? see screenshot below Solve - 2x - 7 > X+ 8.O A. x-3 [tex]\lim_{x \to \4} x^{2} -3x[/tex] Instructions: Find the missing side. Round your answer to the nearesttenth.4966X The robotics team purchased 3 androids for the purpose of programming. Each of the robots was $398, which included tax. If the tax rate is 8%, what is the TOTAL TAX to be paid? Need helppppp Im stuckkkk how many terms are there in the series. 201.208.215......319