A. Design an algorithm that takes 2 integers input from users in 2 variables, without using any other variable swap the values. Design its flow chart as well.

Answers

Answer 1

Answer:

The algorithm is as follows

Start Accept Input1 and Input2 Input1 = Input1 + Input2 Input2= Input1- Input2 Input1= Input1- Input2 Print Input1 Print Input2 Stop

See attachment for Flowchart

Line 1 and 8 of the algorithm starts and stops the algorithm

Line 2 accepts the two integer variables (input1 and input2)

Take for instance input1 = 5 and input2 = 4

Line 3 increases input1 by input2

At this point, Input1 = 5 + 4 = 9

Line 4 subtracts input2 from input1 and saves it in input2

i.e. Input2 = 9 - 4 = 5

Note that, the value of input2 has changed to the initial value of Input1

Line 5 subtracts input2 from input1 and saves it in input1

i.e. Input1 = 9 - 5 = 4

Note that, the value of input1 has changed to the initial value of Input2

Line 6 and 7 prints the new values of input1 and input2

The flowchart does the same thing as the algorithm; the only difference is that it uses lines and shapes to depict flow of program

The flowchart was designed using Microsoft Office Word

A. Design An Algorithm That Takes 2 Integers Input From Users In 2 Variables, Without Using Any Other

Related Questions

Which economic philosopher you believe has the most positive effect on the United States today


Answers

Answer:

Adam Smith, the Father of Economics, has the most positive effect in the US today because he is also known for creating the concept of gross domestic product (GDP) and for his theory of compensating wage differentials.

Answer:

John Maynard Keynes (1883-1946)  

History pros every so often imply John Maynard Keynes as the "goliath showcase examiner." The six-foot-six Brit recognized a lectureship at Cambridge that was eventually bolstered by Alfred Marshall, whose deftly and demand twists were the explanation behind a great deal of Keynes' work. He is particularly connected with supporting government going through and cash related course of action to mitigate the unpleasant effects of money related downturns, tragedies and impacts. During World War I, Keynes went after the credit terms among Britain and its accomplices, and was a specialist at the congruity game plan set apart in Versailles. (To scrutinize continuously about his speculations, see "Understanding Supply-Side Economics" and "Specifying Monetary Policy.") Keynes was almost gotten out before long the budgetary trade crash of 1929, anyway he had the alternative to change his fortune. In 1936, Keynes formed his unique work, the "General Theory of Employment, Interest and Money," which maintained government mediation to propel usage and contributing – and to facilitate the overall Great Depression that was fuming by then ("spend out of wretchedness," as intellectuals like to call it). This work has been regarded as the dispatch of present day macroeconomics. (To see more, see "Macroeconomic Analysis.")

30 POINTS!!!

Select the correct answer.

Which term is a gestalt concept?

A. balance

B. governance

C. continuance

D. dominance

E. preference

Answers

i think it’s C : continuance

what is the purpose of the print area feature​

Answers

Answer: The Print Area function in Excel allows you to print part of a spreadsheet rather than the full sheet

Explanation:

Answer:

C- Selecting specific cells and ranges to print

Explanation: ;)

HELP FOR JAVASCRIPT: 01. What is prototypical inheritance? 02. How can JavaScript be used to improve accessibility on the web? I've heard focus management can help?

Answers

Answer:

Following are the answer to this question:

Explanation:

Prototypical inheritance:

This inheritance is a part of the object-oriented programming, in the JavaScript, the prototype is also an instance of an entity, on this type of inheritance an object inherits another object directly, in which an instance could be composed of several sources which enable simple selective inheritance and a flat structure of delegation[[Prototype]].

Web accessibility using JavaScript:

In the website or web page, JavaScript is usually fully accessible if another script 's implementation has been device-independent, and the components are accessible to be used in assistive devices. It enables the developers to improve web page information, which helps in communication, data processing, and regulation, and it also helps in management.

Output from the print statement is usually written to the ______ in the form of ________

Answers

Answer:

Hope this helps :)

Explanation:

To the *processor* in the form of *binary* (or binary language)

Output from the print statement is usually written to the processor in the form of binary.

What is statement?

The term statement was the based on the line are the perfectly in the arranged. The statement was the correct on the said by the famous in the personality. The statement was the line in the correct manner. There was the statement on the give to the situations.

The term “binary” refers to the smallest and minimum two-digit number stored on a computer device. The smallest binary codes are zero (0) and one (1). The use of storing numbers easily. The computer only understands the processor are the print statement.

As a result, the output from the print statement is typically written to the processor in the form of binary.

Learn more about on statement, here:

https://brainly.com/question/2285414

#SPJ2

Why is the no video recording in iPhone camera

Answers

Answer:

it really does depend on what iphone you have but go to Settings > Privacy > Camera and disable the last app that was allowed access to the phone's Camera. check the camera app again and you should see the video recording access.

hope this helped!

Answer:

Wait is this a genuine question im not sure how to answer

Explanation:

the word item referred to as a: A.value B.label C.Formula​

Answers

I think it’s C If wrong I’m sorry

Does white space have visual weight? Yes or No

Answers

Answer:

no. (more info below)

Explanation:

white space appears to have no visual weight because it's seen as empty. Every body put in the room will appear to be heavier because of the volume surrounding it.

hope this helped!

Answer:

no

Explanation:

it's because it appears to be empty.

10
This section of program code may be used as a validation check.
1
2
3
4
5
6
7.
PRINT "Input a value between 0 and 100 inclusive"
INPUT Value
WHILE Value < 0 OR Value > 100
PRINT "Invalid value, try again"
INPUT Value
ENDWHILE
PRINT "Accepted: ", Value
(a) Give a name or explain this type of validation check.
[2]
(b) Describe what is happening in this validation check.​

Answers

Answer:

This is a range check

Explanation:

The input value is checked against a minimum and maximum value.

using substitution what is the value for x for the equations 2x+y=-3 and y=4x+6​

Answers

Answer:

[tex]x = \frac{-3}{2}[/tex]

Explanation:

Given

2x + y = -3

y = 4x + 6

Required

Find the value of x

2x + y = -3 --- Equation 1

y = 4x + 6  --- Equation 2

Substitute 4x + 6 for y in equation 1.

So, equation 1 becomes

[tex]2x + 4x + 6 = -3[/tex]

[tex]6x + 6 = -3[/tex]

Subtract 6 from both sides

[tex]6x + 6 - 6 = -3 - 6[/tex]

[tex]6x = -9[/tex]

Divide both sides by 6

[tex]\frac{6x}{6} = \frac{-9}{6}[/tex]

[tex]x = \frac{-9}{6}[/tex]

Simplify fraction

[tex]x = \frac{-3}{2}[/tex]

Hence, the value of x is [tex]x = \frac{-3}{2}[/tex]

The first time a user launches the PowerPoint program, which view is shown allowing the user to access recent

presentations or create new presentations based on templates?

Answers

Answer:Click file, go to NEW then you can choose the template you would like to use to create your presenation.

Explanation:

Answer:

It might be edit view

Explanation:



Which of the following is NOT a group on the Slide Master tab?
A. Edit Master
B. Styles
C. Edit Theme
D. Background

Answers

styles is not a group on the slide master tab

Answer: Edit theme Select and customized the colors, fonts

Explanation:

the rules of right-of-way
Pedestrians, bicyclists, and skateboarders
when they use the road.

Answers

Whenever you are driving and you see a pedestrian, bicyclist, or skateboarder, they always have the right of way, no matter the scenario. Always give bikers 3-4 feet if possible between them and your vehicle when passing them, and always be careful around skateboarders.

I hope this helped you! Have a great day!

40 POINTS!!!

Drag the tiles to the boxes to form correct pairs.
Match the image manipulation techniques to their description.

Answers

Answer:

desaturation is 2nd one.

contrast is the first

saturation is the third

brightness is last

Explanation:

:) Please make me brainliest!

Match the image manipulation techniques to their description.

makes the image visible from the background - contrastmakes the image black and white - desaturationincreases color intensity - saturationadds light to objects in the image - brightness

What is a dictionary entry?

A dictionary entry refers to the collection of information provided to understand the meaning of a word in a given context. This word of meaning will differ from context to context sometimes.

Image manipulation technique refers to a technology that is used to change the actual image by utilizing the tool in order to make the image clear and brighter.

This technique includes contrasting the background with a dark and light combination, adding brightness to the image, setting the pixels to eliminate the chances of the blurred image,s and so on.

Learn more about the dictionary, here:

https://brainly.com/question/1199071

#SPJ2

Which computing component is similar to the human brain

Answers

THE CPU ,THERE IS WERE ALL THE INFORMATION IS.

A speed limit sign that says "NIGHT" indicates the _____ legal speed between sunset and sunrise.

Answers

Answer:

Maximum

Explanation:

Speed limits indicate the maximum speed you are legally allowed to drive.

The domain name is passed to a domain name server, which maps it to the correct IP address, and then the code behind the page is translated from HTML to a human-readable format. What does this describe?

Answers

The first process is a DNS lookup where the domain name server (DNS) stores a table with domain names and their corresponding IP address.

The second process is called web page rendering where the computer takes the HTML and turns it into the page that displays on your screen.

IF YOU PLAY SURVIV>IO WITH ME RIGHT NOW I WILL GIVE YOU BRAINLIEST
AND IM NOT KAPPING

Answers

Answer:

no

Explanation:

moomoo.io is way better

Create a variable ‘temp’ and assign the value in Celsius. Display the message ‘It’s extremely hot day today!’ if the temperature is greater than 40oC otherwise, displays ‘It’s not too hot!

Answers

Answer:

This code is written using C++

Comments are used for explanatory purpose

Program starts here

#include<iostream>

using namespace std;

int main() {

int temp;

//Prompt user for input

cout<<"Enter temperature (in Celcius): ";

//Check if input is acceptable

while(!(cin>>temp)) {

cout << "That was invalid. Enter a valid digit: "<<endl;

cin.clear(); // reset the failed input

cin.ignore(123,'\n');//Discard previous input

}

//Check if temp is greater than 40

if(temp>40) {

cout<<"It's extremely hot day today!";

}

else{//If otherwise

cout<<"It's not too hot!";

}

return 0;

}

//End of Program

list two use of a word processor software.

Answers

Explanation:

the Word processor is used to for

* Editing of documents

*Formatting of documents

*Creation of documents

*Saving documents

HOW DO I TURN THE CAPS LOCK OFF???? PLEASE HELP IT WONT STOP!!!!

Answers

Answer:

Press the caps lock key

Explanation:

Just press down the button that you press to make things capital once

you've finished programming the app! Now your company has to decide whether to use an open source
license or proprietary license. explain which one you would choose and why.​

Answers

Answer:

Proprietary License gives you full ownership and trademark/patent opportunites. Open source allows for code donation and a community based development for your app. Generally speaking, if your a private entity creating an app for a client, you'll need the Proprietary Licence, which will allow you to sell the codebase to your client.

If your creating an app for your company as itself, you go either way, sell the license in licensing agreements, or have your companies community contribute and better your app from the inside.

Its entirely based on the agreements you set for the app.

differentiate between analogue and digital devices​

Answers

Answer:

In analog technology, a wave is recorded or used in its original form. So, for example, in an analog tape recorder, a signal is taken straight from the microphone and laid onto tape. ... In digital technology, the analog wave is sampled at some interval, and then turned into numbers that are stored in the digital device.

Explanation: Got it from google. hehe

Explain what will happen if we continue to use fossil fuels at the rate we are now and what impacts it will have on the planet.

Answers

Answer:

At the point when non-renewable energy sources are singed, they discharge carbon dioxide and other ozone depleting substances, which thusly trap heat in our air, making them the essential supporters of an Earth-wide temperature boost and environmental change. At the point when we consume oil, coal, and gas, we don't simply meet our vitality needs—we drive the current an unnatural weather change emergency also. Non-renewable energy sources produce huge amounts of carbon dioxide when consumed. Carbon discharges trap heat in the air and lead to environmental change.

PLEASE HELP QUICKLY, I WILL GIVE BRAINLIEST TO THE BEST ANSWER!
A _________ works if the columns you're joining by have the same name in both tables.
Group of answer choices

auto join

match join

common join

natural join

Answers

Answer:

If there are multiple schools in the teams table with the same name, each one of those rows will get joined to matching rows in the players table.

Explanation:

the answer must be match join?

Who developed the first
DBMS called Integrated
Data Store

Answers

Answer:

Charles Bachman developed the first DBMS called Integrated Data Store.

What is basic statement made up of​

Answers

Answer:

The answer is variables, constants, expressions and funcions.

A BASIC program is composed of statements made up of variables, constants, expressions, and functions. BASIC statements can contain arithmetic, relational, and logical expressions. These expressions are formed by combining specific operators with variables, constants, or BASIC intrinsic functions. Hope it helps

Which method will successfully launch the Spelling and/or Grammar Checker dialog box?

Click the Review tab on the ribbon; in the Proofing group, click on the Spelling & Grammar button.
Press the F7 key on your keyboard.
Right-click a word that is marked with a spelling or grammar error, and select Spelling or Grammar from the menu list.
All the above statements are correct.

Answers

Answer:all of the above

Explanation:

I got it correct

The correct is D. All the above statements are correct which All the above statements are correct.

To check your spelling and grammar, select the Review tab and then Spelling & Grammar.

What program is used in the word to check the spelling?

Spell checking is a unique function in Microsoft Word that lets you check your work for grammatical and spelling errors. A software program that detects misspelled words in a document is what spell check essentially is.

Grammar checkers are a great tool for people who aren't writers or are very technical. These apps help users become more fluent in the English language by pointing out their flaws. Your writing will be reviewed by Grammar Checker Tools to ensure that it is accurate and error-free.

Select Spelling & Grammar from the Review tab. In the event that Word discovers a potential error, the Spelling & Grammar dialog box will launch with red text for spelling mistakes and green text for grammatical mistakes.

Thus, the ideal selection is option D.

Learn more about the Spelling and/or Grammar Checker here:

https://brainly.com/question/16798012

#SPJ2

Write a program that asks the user to enter the name of an input file. If the file does not exist, the program should prompt the user to enter the file name again. If the user types QUIT in any uppercase/lowercase combinations, then the program should exit without any further output.

Answers

Answer:

I can help you with that inbox me

similarities between human and computer​

Answers

Answer: Both have a center for knowledge; motherboard and brain. Both have a way of translating messages to an action. Both have a way of creating and sending messages to different parts of the system.

Other Questions
Dave and his 4 friends want to share the cost of a meal equally. They order 3 large pizzas and 5 small drinks. If they leave a tip of $9.90 how much does each person pay? The city manager of Shinbone has received a complaint from the local union of firefighters to the effect that they are underpaid. Not having much time, the city manager gathers the records of a random sample of 27 firefighters and finds that their average salary is $38,073 with a standard deviation of $575. If she knows that the average salary nationally is $38,202, how can she respond to the complaint Sam has three identical tennis balls with a diameter of 2.7 inches. Determine the volume of all three tennis balls? Read the article and use the information to answer the following questions.Rainforest BiomesMatch the characteristic of the biome to the type of rainforest.weather year round is warm and humidreceives about 200 inches of rain a yeartrees are mostly coniferousgreatest variety of uniquely adapted organisms The bow of God's wrath is bent . . . it is nothing but the mere pleasure of God, and that of an angry God, without any promise or obligation at all, that keeps the arrow one moment from being made drunk with your blood.In this excerpt, the word wrath suggests that Please help!! Which sentence is best?A.He wanted to perfectly paint the room.B.He wanted to paint perfectly the room.C.He wanted perfectly to paint the room.D.He wanted to paint the room perfectly. 1. Quin es la persona que llega a la oficina?2. Cul es el nombre de la secretaria?3. Cul es el nombre del jefe?4. Qu es lo que slo el seor Rojas puede recibir?5. Cmo se llama la otra secretaria? *Hedgehogs are nocturnal and hibernate during the winter. Which of thefollowing is NOT true?A)Hedgehogs eat insects and worms - they are herbivoresB)Their metabolic rate drops in winterC)They are nocturnal as many insects are active at nightD)They hibernate as food is scarce in winter Linear or non linear According to the Rational Root Theorem, Negative two-fifths is a potential rational root of which function? f(x) = 4x4 7x2 + x + 25f(x) = 9x4 7x2 + x + 10f(x) = 10x4 7x2 + x + 9f(x) = 25x4 7x2 + x + 4 a certain Forest covers an area of 2000 square kilometers. Suppose that each year this area, decreases by 6%. What is the equation that best represents the area of the forest each year? Wann fliegt ihr ____ Deutschland? zum nach zu zur Calculate log 10.5 , Given that log 2 = 0.30, log 3 = 0.48 and log 7 = 0.85 Triangle XYZ is translated by the rule [x+1, y-1] Ian been dilated by scale factor of 4 centered at the origin. Which statement describes the properties triangles XYZ and XYZ after the transformations? what stage in the cell cycle does the dna replicate and cell grows? Please select the word from the list that best fits the definitionLe recomendaria la sopa de lentejas.No, preferiria ver el men.Un fan de vainilla, por favor.No, mejor me trae un jugo.No, tomaria un t de limn.Si comera un postre pero no tengo hambre. Which of the following structures in the human body has the highest level of organization let's consider the effectiveness of two antacids to illustrate how chemical calculations can be important in daily life. Baking soda NaHCO3, is often used as an antacid. It neutralizes excess hydrochloric acid sereted by stomach. The balanced equation for the reaction is NaHCO3(s)+HCl(aq)=H20(l)+CO2(g). Milk of magnesia, which is an aqueous suspension of magnesium hydroxide, Mg(OH)2(s)+2HCl(aq)=2H20(l)+MgCl2(aq), Which anatacid can consume the most stomach acid, 1.00g of NaHCO3,or 1.00g of Mg (OH)2? Let uequalsleft angle 4 comma negative 3 right angle, vequalsleft angle negative 2 comma 5 right angle, and wequalsleft angle 0 comma negative 6 right angle. Express 7 Bold u minus 5 Bold v plus Bold w in the form left angle a comma b right angle. I do not know if it's okay.Which pedigree symbol is used to represent a female carrier of a recessive X-linked trait?