Use pseudocode to write a function or procedure that will find the maximum of three numbers a, b, and c.

Answers

Answer 1

Answer:

Check if a > b

   if true -> check if a > c

        if true -> a has the maximum value

        if false -> c has the maximum value

   if false -> check if b > c

        if true -> b is the maximum

         if false -> c is the maximum

Explanation:

To find the maximum, you need to find the largest number.

This can be done by making multiple nested if-statements, comparing 2 variables and finding which one is larger.


Related Questions

The commented line states that I have assigned a 2D array to a pointer but I want array of such pointers which could store numbers of 2D Array.

Answers

It is impossible to store numbers or contents of 2D array to a pointer array.

How to store pointers in 2D Arrays?

Arrays and pointers are different data structure elements, and there is a limit to the operations that can be performed on both.

Having said that, it is impossible to store numbers or contents of 2D array to a pointer array.

The closest you can do, is to use the following declaration:

int *p[] = {(array-type [][number of columns]) {Array-content}}

Read more about arrays and pointers at:

https://brainly.com/question/17355709

#SPJ1

Answer:

Get the element => *( (int *)aiData + offset ); calculate offset => offset = (1 * coloumb_number)+ 2); Add offset in array base address => (int *)aiData + offset; //here typecast with int pointer because aiData is an array of integer Get the element => *( (int *)aiData + offset );

Explain how cache (SRAM) can support CPU pipelining.

Answers

Answer:

The Pipeline Burst Cache is basically a storage area for a processor that is designed to be read from or written to in a pipelined succession of four data transfers. As the name suggests 'pipelining', the transfers after the first transfer happen before the first transfer has arrived at the processor.

E. Write an algorithm to show 'How to prepare a cucumber sandwich?". ​

Answers

Answer:

Place slices of bread on plate, side by side...

Postcondition: Sandwich is ready to eat.

Step 1: Start with the number 1.

Step 2: find another person and form a pair.

Step 3: add your numbers together.

Step 4: one person from the pair sits down.

Step 5: the other person goes back to step 2.

Why do we need to connect computers"​

Answers

Answer:

batteries cant last connected to nothing forever probably

importance of software in computer​

Answers

Answer:

It allows accomplishing functions using the computer. The software is the instruction we want the computer to process for us.

Explanation:

I want to type a letter. I need a software that can interpret my letters in the keyboard and the program can print what I am typing.

a transmitter is operating at 150 MHz with a power of 3 W into a one-quarter wavelength vertical antenna. The receiver, which is 32.2 km away, has an antenna with a gain of 8 dB. What is the received power?

Answers

The received power will be 1.243 nW

We're given:

frequency [tex]f[/tex] = 150MHz

distance of the receiver [tex]d[/tex] = 32.2 km=32200m

Power of transmitter [tex]P_{t}[/tex] = 3W

Antenna gain = 8dB

To find :

Power received [tex]P_{r}[/tex]

[tex]P_{r}= \frac{P_{t} *G_{t}*G_{r}* \lambda^2 }{16*\pi^2*d^2}[/tex]

where [tex]G_{t[/tex] is transmit gain and [tex]G_{r[/tex] is receive gain as refrenced to isotropic source

⇒wavelength [tex]\lambda = \frac{c}{f}[/tex] where c is the speed of the light

⇒  [tex]\lambda = \frac{3*10^8}{150*10^6} =2m[/tex]

[tex]G_{t}= 1*1.64[/tex] ( value of [tex]dipole[/tex] = 1.64)

Now,

Antenna gain[tex]=8dB[/tex] ( in decibals)

⇒[tex]10log(x)=8[/tex]

⇒[tex]x=10^0^.^8=6.3095[/tex]

⇒ considering isotropic receiver

⇒[tex]G_{r}=6.3095*1.64=10.3477[/tex] ([tex]dipole[/tex] =1.64)

Now , using the formula

[tex]P_{r}= \frac{3 *1.64*10.3477 *2^2 }{16*\pi^2*32200^2}=1.2437*10^-^9[/tex]

Hence The received power will be 1.243 nW

Leaen more about communication devices here:

https://brainly.com/question/14530107

#SPJ10

I want a loyal girlfri,end​

Answers

Answer:

go to dating app

Explanation:

Review 03 diagnostic and troubleshooting skills including data gathering methods and techniques.

Answers

The kinds and ways to improve your diagnostic and troubleshooting skills are:

Be Relax and never panic when you encounter it.Know everything about your computer. Look for solutions and clues and state them down. Find out the repeatability.

What is diagnostic and troubleshooting?

Diagnosing is known to be the act of finding out the root cause of any issue through an act of elimination but troubleshooting is known to be the act of fixing of the problem after diagnosis is said to have been carried out.

Therefore, The kinds and ways to improve your diagnostic and troubleshooting skills are:

Be Relax and never panic when you encounter it.Know everything about your computer. Look for solutions and clues and state them down. Find out the repeatability.

Learn more about troubleshooting skills from

https://brainly.com/question/14983884

#SPJ1

A date for creation or revision
is mandatory for all web pages?

Answers

Answer:

I do believe so

Explanation:

Most websites have this, as far as I know

If x = 5 and y = 7, will statement if(x!=y) execute?
A. yes
B. no

Answers

A. yes

!= means not equal, so if you substitute, you get if(5 is not equal to 7), which renders True and executes

4.24 LAB: Exact change
Write a program with total change amount as an integer input, and output the change using the fewest coins, one coin type per line. The coin types are Dollars, Quarters, Dimes, Nickels, and Pennies. Use singular and plural coin names as appropriate, like 1 Penny vs. 2 Pennies.

Ex: If the input is:

0
or less than 0, the output is:

No change
Ex: If the input is:

45
the output is:

1 Quarter
2 Dimes

Answers

The Exact change program is an illustration of conditional statements;

Conditional statements are used to make decisions

The Exact change program

The Exact change program written in java programming language, where comments explain each action purposes

import java.util.*;

public class Money{

public static void main(String [] args){

Scanner input = new Scanner(System.in);

// Declare Variables

int amount, dollar, quarter, dime, nickel, penny;

// Prompt user for input

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

amount = input.nextInt();

// Check if input is less than 1

if(amount<=0)  {

  System.out.print("No Change");  }

else  {

  // Convert amount to various coins

  dollar = amount/100;   amount = amount%100;

  quarter = amount/25;   amount = amount%25;

  dime = amount/10;   amount = amount%10;

  nickel = amount/5;   penny = amount%5;

  // Print results

  if(dollar>=1)    {

    if(dollar == 1) { System.out.print(dollar+" dollar\n");}

  else { System.out.print(dollar+" dollars\n"); }

}

if(quarter>=1){

if(quarter== 1){System.out.print(quarter+" quarter\n");}

else{System.out.print(quarter+" quarters\n");}

}

if(dime>=1){

if(dime == 1){System.out.print(dime+" dime\n");}

else{System.out.print(dime+" dimes\n");} }

if(nickel>=1){

if(nickel == 1){System.out.print(nickel+" nickel\n");}

else{System.out.print(nickel+" nickels\n");}}

if(penny>=1){

if(penny == 1) {System.out.print(penny+" penny\n");}

else { System.out.print(penny+" pennies\n"); }}}}}

Read more about conditional statements at:

https://brainly.com/question/11073037

#SPJ1

compare the results of both the RATS and Skipfish reports.

Answers

Answer:

The results of both reports RATS is known nas mouse and skipfish is known as one type of fish

A square QR code contains 40×40 tiny squares (pixels) where each tiny square represents a 0 or a 1. Calculate how many bytes of data can be stored on the QR code​

Answers

Answer:

Explanation:

QR Codes are made of multiple rows and columns. The combination of these rows and columns makes a grid of modules (squares). There can be a maximum of 177 rows and 177 columns which means the maximum possible number of modules is 31,329. With the eye, these are just small squares and mean very little, but the exact arrangement of those modules allows the QR Code to encode its data. This means that, unlike traditional barcodes which are 1 dimensional and use 1 row of lines, QR Codes use 2 dimensions which allows them to store a lot more data in the same area of space.


2. Which one of the following is the purpose of relating tables in a database?
A. To permit external data only to be viewed.
B. To allow data to be sorted before printing to a report.
C. To enable mathematical calculations to be carried out more efficiently.
D. To avoid duplication of data.

Answers

Answer:

D. To avoid duplication of data.

What is software engineering? What are the objectives of software engineering?

Answers

Answer:

The basic objective of software engineering is to develop methods and procedures for software development that can scale up for large systems and that can be used consistently to produce high-quality software at low cost and with a small cycle of time.

Explanation:

How are charts useful in Excel worksheets? Name three types of charts available in Excel and describe with an example how each might be used. What are some things you can do with a chart to make the information clearer to a reader? What are some things you can do with a chart to make it more visually appealing?

Answers

Answer:

Spread sheets

Explanation:

Charts are employed to display series of numeric data in a graphical format to help people understand large amounts of data and the relationships between them.

What is a worksheet?

A worksheet is a sheet that is used as a guide in doing some work to make preliminary plans, supplementary computations, notes, or comments.

Charts are used to display a series of numeric data in a graphical format in order to help people understand large amounts of data and their relationships.

Good graphs allow for precise estimation of the quantities represented. The reader must understand the scale used to represent quantity on the graph in order to estimate quantities.

Create your graph with as few elements as possible. Color can help distinguish data sets in a graph, but avoid glaring color combinations (such as chartreuse and violet), as these can be distracting.

Vertical bars are used to describe information in column charts. They can work with a wide range of data, but they are most commonly used for information comparison. Line charts are excellent for displaying trends.

Thus, by using some things like this, one can make charts clearer.

For more details regarding worksheets, visit:

https://brainly.com/question/13129393

#SPJ2

Write a program to print each item in the list of your favourite ice cream. please give proper answers. ​

Answers

Answer:

Python

Explanation:

#List Favorite ice-cream

ice_cream = ["Pistachio", "Cookies and cream", "Chocolate", "Banana split" , "Vanilla"]

for flavor in ice_cream:

print(flavor)

what are differences between Ram and Rom?​

Answers

Answer:

RAM, which stands for random access memory, and ROM, which stands for read-only memory, are both present in your computer. RAM is volatile memory that temporarily stores the files you are working on. ROM is non-volatile memory that permanently stores instructions for your computer.

Explanation:

Answer:

RAM is random access memory - we can have it even after we shut down the computer. it is volatile .it stores temporarily.

ROM - Read only memory. it is non volatile memory. we can only have it until computer is turn on. after that it's gone.it stores memory permanently

prove that A + ĀB = A + B using 1) boolean basic laws and 2) truth table​

Answers

Answer:

projects of sums or POS Boolean expectation may also be generated from two tables quite easy divide determining which rows of the table have and output of zero writing on some term for each row and final multiplying all the some terms this creates a bowler expression representing the truth table as whole

Explanation:

helpful

Where can you get help to create citations for ProQuest articles?

Select one:

a.

By checking the USP handbook

b.

All of the above

c.

By using ProQuest's "CITE" button

d.

By checking your writing textbook

Answers

B is the correct answer , check under citations in the index .

(please help) What do you do if Brainly keeps saying your blocked?

Answers

You could probably make a new account if it’s just the account blocked

codehs 8.2.5 spell it out pls help

Answers

The answer is not here, so you should look down↓:

Explanation:

The programming question requires that we write a function that takes a string and returns every character in it but the first character.

The function in Python, where comments are used to explain each line.

This defines the function too.

This returns every character in the string except the first one.

Which of the following is not a valid technique to create a function stub?

a.
Use a pass statement

b.
Raise NotImplementedError

c.
Print a "FIXME" message and return -1

d.
Leave the function body empty

Answers

An option which isn't a valid technique to create a function stub is to: D. leave the function body empty.

What is a function stub?

A function stub can be defined as a type of function that can be called safely without an error. However, a function stub has no definition because it doesn't actually perform any action when called.

In this context, leaving the function body empty is an option which isn't a valid technique to create a function stub.

Read more on function stub here: https://brainly.com/question/17214711

#SPJ1

An array called numbers contains 35 valid integer numbers. Determine and display how many of these values are greater than the average value of all the values of the elements. Hint: Calculate the average before counting the number of values higher than the average

Answers

python

Answer:

# put the numbers array here

average=sum(numbers)/35 # find average

count=0 #declare count

for i in numbers: #loop through list for each value

if i > average: #if the list number is greater than average

count+=1 #increment the count

print(count) #print count

Can someone please tell me how to do this step by step?

ASAP

Answers

The steps that are required to customize elements of a Word document and its formatting to be consistent with other magazine articles are listed below.

How to customize elements and format a document?

In Microsoft Word 2019, the steps that are required to customize elements of a Word document and its formatting to be consistent with other magazine articles include the following:

You should apply a style set.You should change the color of an underline.You should use the Thesaurus.You should change the character spacing, change the font color and update a style.You should apply a character style.You should change the font case.You should insert a Quick Part.You should insert a table of contents.You should change the table of content (TOC) level.You should apply a style.You should update the table of contents.

In conclusion, the end user should update the table of contents as the last step, so as to reflect the change to his or her Word document.

Read more on Microsoft Word here: https://brainly.com/question/25813601

#SPJ1

Complete Question:

As the owner of On Board, a small business that provides orientation services to international students, you are writing an article about starting a business that will be published in an online magazine for recent college graduates. You need to customize elements of the document and its formatting to be consistent with other magazine articles. What are the steps?

program that initialises a vector with the following string values: “what” “book” “is” “that” “you” “are” “reading”.

Answers

A program that initializes a vector with the following string values: “what” “book” “is” “that” “you” “are” “reading” are the usage of namespace std;int main().

What is a vector software program?

Vector images software program permits customers to layout and manages pc photos the usage of geometric and mathematical commands, instead of clicks and strokes as utilized in drawing software program. Vector photos created the usage of those applications may be scaled indefinitely with out dropping quality.

#include #include #include the usage of namespace std;int main(); vector::iterator it; for (it = vs.begin(); it != vs.end(); it++) string tmp; while (cin.get()!='n') for (it = vs.begin(); it != vs.end(); it++) }

Read more about the vector :

https://brainly.com/question/25705666

#SPJ1

The layer of ISO/OSI that enables someone to access network is

Options:
(a) application
(b) data-link
(c) physical
(d) session

Answers

Answer:

The network layer essentially enables a user to connect to the internet or any available network. From what I understand, the session layer should be the answer since it primarily means establising a connection with a server which only takes place over a network.

Explanation:

Why should we apply print preview before printing the document.​

Answers

to helps them to see how the final printed material will appear. 

what two QuickBooks Online payroll subscription levels include QuickBooks time

Answers

The two QuickBooks Online payroll subscription levels include QuickBooks time are:

Online Payroll Premium Elite subscription

What is this about?

QuickBooks Time mobile access is known to be commonly made up of one's QuickBooks Online Payroll Premium and also one's QuickBooks  Elite subscription that is said to be given at no additional cost.

Therefore, The two QuickBooks Online payroll subscription levels include QuickBooks time are:

Online Payroll Premium Elite subscription

Learn more about QuickBooks from

https://brainly.com/question/24441347

#SPJ1

4. The volume of a sphere is (4.0/3.0)rr3 and the surface area is 4.0rr2, where r is the radius of
the sphere. Given the radius, design an algorithm that computes the volume and surface area of
the sphere. (You may assume that T-3.141592) (Exercise#17)

Answers

An algorithm that computes the volume and surface area of this sphere include:

Get the radius.Calculate the volume.Calculate the surface area.

What is an algorithm?

An algorithm is a standard formula which comprises a set of finite steps and instructions that must be executed in order to proffer solutions to a problem on a computer, under appropriate conditions.

For this exercise, an algorithm that computes the volume and surface area of this sphere is as follows:

Get the radius.Calculate the volume.Calculate the surface area.

Read more on algorithm here: brainly.com/question/24793921

$SPJ1

Other Questions
Prove Triangle ABC is congruent to Triangle CDA. Jeremy has difficulty recognizing that a sibling is scared or angry. Jeremy's difficulty would be especially common for those with Mr. T has 784 marbles. he has 263 marbles more than Indie. how many marbles do they have altogether? Which best describes the authors viewpoint in this passage from an earlier chapter of The Dark Game?The author is suggesting that the telegram sparked the US decision to go to war.The author believes the telegram added to the strength of US troops. The author claims that the telegram had no effect on the course of events. Brian wants to fence in his triangular plot of farm land that measures 1.1 by 1.5 by 2.2 miles. Determine the angles at which the fences of the three sides will meet. 1.1 mi A 1.5 mi 2.2 mi B Rounding each angle to m/A 125 X = COMPLETE m/Ba DONE degrees 1 x 1 x 99 x 100 hat is the awnser What is the purose of using multiple control groups in an experiment? What is the solution to the equation 7(a-10)=13-2(2a+3)?26O a=11O a=789O a = 11O a=621 Question 1The total length of a hiking trail in the mountains is 8 miles. If Dale and his son completed 4/5 of the trail yesterday, how many feet did they hike?42,240 feet22,528 feet11,264 feet33,792 feet what is the meaning of this PLEASE help Kerry has a job that pays $1,954 biweekly. How much is withheld annually for Social Security?$82.07$41.03$2,113.77$88.91$177.81 What does that mean about the densities of the phases of water?The solid state is the most dense, followed by the liquid state, then the gas state.The solid state is more dense than the liquid state.The liquid state is more dense than the solid state.The gas state is the most dense, followed by the liquid state, then the solid state The ancient city of petra, designated a world heritage site in 1985, can be found in which middle east country?. An adjusting entry is completed ________ What are the coordinates for point b? a. (7, 0) b. (0, 7) c. (0, 8) d. (1, 7) Drag the boxes to order the decimals from least to greatest from left to right.316.011306.324306.359 Which of the following statements best explains the relationship between shopping and cultural identity as expressed in paragraph 1?Answer choices for the above questionA. They both require that people make choices.B. Consumerism is highly influenced by an individuals cultural background.C. Companies try to target certain communities with their advertising campaigns.D. Cultural identity isnt an indicator in shopping, but gender is. Fill in the blank with the correct word.I washed your t-shirt because it wasO oilO oilyO oiledO oils Henry shot a down tennis ball and a cricket ball of the same size to window glass. Which one will have more impact? Justify. Some people believe that reading stories from a book is better than watching tv or playing computer games for children. To what extent do you agree or disagree?