iii. Write the pseudocode for a program to take two integer inputs and the operator from user and
display the answers of four basic arithmetic operations ( +- */).

Answers

Answer 1

Answer:

The pseudocode is as follows:

Input num1, num2

input operator

print num1 + num2

print num1 - num2

print num1 * num2

if num2 != 0

    print num1 / num2

else

    print "Cannot divide by 0"

Explanation:

This gets input for both numbers

Input num1, num2

This gets input for the operator

input operator

This prints the sum

print num1 + num2

This prints the difference

print num1 - num2

This prints the product

print num1 * num2

This prints the division if the divisor is not 0

if num2 != 0

    print num1 / num2

else

    print "Cannot divide by 0"


Related Questions

how much video does a 10gb video hold i will give brainliest for first correct answer

Answers

Answer:

2,000 songs

Explanation:

Explica la importancia que tiene el plan de trabajo (cronograma) en los proyectos y porque se realiza antes de ejecutar la solución seleccionada. ayuda es para hoy :c

Answers

Answer:

El plan de trabajo permite delimitar la necesidad a la cual se debe responder con una solución (descripción del problema), los hitos que se deben alcanzar (objetivos general y específico), los recursos requeridos para lograr desarrollar y aplicar la solución (marco teórico), los posibles beneficios derivados del proceso exitoso (justificación del proyecto) y una administración racional y realistas de los recursos a disposición en cuanto a disponibilidad, tiempo y personal mediante una secuenciación de tareas (i.e. diagramas de Gantt), todo reduce el componente iterativo inherente a diseño y producción de un producto, permite prever posibles imprevistos y mantener una perspectiva realista y una eficiencia aceptable en cuanto a presupuesto, metodologías y tecnologías a usar.

El plan de trabajo debe incluir principios de ingeniería concurrente para minimizar para manera mejor los posibles imprevistos, usualmente difíciles de manera con principios de ingeniería secuencial.

Explanation:

El plan de trabajo permite delimitar la necesidad a la cual se debe responder con una solución (descripción del problema), los hitos que se deben alcanzar (objetivos general y específico), los recursos requeridos para lograr desarrollar y aplicar la solución (marco teórico), los posibles beneficios derivados del proceso exitoso (justificación) y una administración racional y realistas de los recursos a disposición en cuanto a disponibilidad, tiempo y personal mediante una secuenciación de tareas (i.e. diagramas de Gantt), todo reduce el componente iterativo inherente a diseño y producción de un producto, permite prever posibles imprevistos y mantener una perspectiva realista y una eficiencia aceptable en cuanto a presupuesto, metodologías y tecnologías a usar.

El plan de trabajo debe incluir principios de ingeniería concurrente para minimizar para manera mejor los posibles imprevistos, usualmente difíciles de manera con principios de ingeniería secuencial.

3 Negative ways of using the Internet​

Answers

Answer:

1. It rots the mind of children

2. It's to too addicting

3. can show bad things.

Explanation:

1. Cyber bullying.
2. Gambling (playing games where you win money)
3. Identity theft, hacking.

What are the steps to add a bibliography to a document? 1. Create a using the proper steps. 2. Go to the tab on the ribbon. 3. In the Citations & Bibliography group, select the Bibliography drop-down menu. 4. Select the correct formatting from the three choices. 5. A bibliography is then added to the

Answers

Answer:

The steps required to add a bibliography after adding the sources of the information contained in the document and marking the references made in the text, are;

1. Click to select insertion point of the bibliography

2. Select the Reference tab by clicking on the Reference tab in the ribbon

3. Within the Citations & Bibliography group, select Bibliography to open  a dropdown list of bibliography format

4. Select the applicable format

5. By selecting the desired bibliography format, the bibliography is inserted at the selected insertion point of the document

Explanation:

Answer:

1. Create a

✔ citation

using the proper steps.

2. Go to the

✔ References

tab on the ribbon.

3. In the Citations & Bibliography group, select the Bibliography drop-down menu.

4. Select the correct formatting from the three choices.

5. A bibliography is then added to the

✔ bottom of the document

Explanation:

Edg 2021

todas las computadoras son controladas por hardware?

Answers

Answer:

"La placa base está compuesta de más partes que alimenten y controlen el equipo. A diferencia del software, el hardware es una entidad física. ... Sin embargo, sin la creación de hardware para realizar tareas dirigidas por software a través de la unidad central de procesamiento, el software sería inútil."

Explanation:

(Sorry, I don't know much Spanish, so there might be mistakes. I hope this helps you.)

1 punto
María tiene una empresa de mercancia
seca, dicha empresa brinda su servicio de
ventas de estas mercancías al por mayor y
menor para su clientela. ¿De qué tipo de
Comercio hablamos en este ejemplo?: *

Answers

Answer:

Retailing.

Explanation:

La venta al por menor o retailing es el suministro de bienes físicos a los consumidores para uso personal, sea en pequeña o grandes cantidades, siempre que esté destinado a consumidores finales. Es un sector que consta de diferentes ramas (como la industria alimentaria, la industria de la moda, la industria del mobiliario para el hogar, etc.). El comercio minorista es el último eslabón de la cadena de suministro que va desde el fabricante hasta el consumidor.

Select the correct answer.
Carter, a graphic artist, is trying to apply color and tonal adjustments to an image without permanently changing pixel values. Which Image
editing tool or technique should Carter use?
OA the Color Replacement tool
ОВ.
an Adjustment layer
c. a vector Mask
OD.
a Curve adjustment
OE the Dodge tool

Answers

Answer: Adjustment layer

Explanation:

The image editing tool or technique that should be used by Carter use is an adjustment layer.

The adjustment layer that can be seen in Photoshop refers to an editing tool that's non-destructive image which can be used in adding color and tonal adjustments to a particular image without the pixels changing permanently.

By using the adjustment layers, one can be able to edit and then discard the adjustments. One can also be bake to restore the original image anytime that the person wants.

Answer: B: an Adjustment Layer

Explanation: Correct for Edmentum/Plato

Transferring data from a remote computer to a local computer is .....​

Answers

The answer is uploading

C. Assessment Application
MATCHING TYPE
Directions: Match column A with column B. Write the letter of your
answer on the space provided.
А
B В
1. Disk Cleanup
A. Repairs and cleans the Windows Registry
2. ASC
3. Scandisk
B. Repairs registry errors, remove "junk" files,
and ensure your PC is fully protected
C. Creates and deletes disk partitions
D. Accesses various information's about your
computer
E. Tunes up and maintains your PC automatically
F. Optimizes use of space on a disk.
4. ASC Pro
5. Format
6. CPU-Z
7. Defrag
G. Tunes up and maintains your PC, with anti-
spyware, privacy protection, and system
cleaning functions
H. Prepares a hard drive prior to use.
I. Checks for physical errors on the disk surface
J. Removes unused files.
8. ARO 2013
9. Fdisk
10. RegDoctor
--00 End of the Module 00--​

Answers

Answer:

[tex]\begin{array}{lll}&A&B\\1&Disk \ cleanup& Removes \ unused \ files\\2&ASC&Tunes \ up \ and \ mantains \ your \ PC \ automatically\\3&Scan \ disk &Checks \ and \ removes \ errors \ on \ the \ disk \ surface\\4&ASC \ Pro& Tunes \ up \ and \ maintains \ your \ PC, \ with \ anti-spyware, \ privacy \ prot \\\\\end{array}[/tex][tex]\begin{array}{lll}\\5&Format&Prepares \ the \ hard\ drive\ prior \ to \ use\\6&CPU-Z&Accesses \ various \ informations \ about \ your \ computer\\7&De-frag&Optimizes \ use \ of \ space \ on \ disk\\8&ARO \ 2013& Repirs \ registry \ errors, \ removes \ "junk" \ files\\9&Fdisk&Creates \ and \ deletes \ disk \ partitions\\10&RegDoctor&Repair \ and \ cleans \ the \ windows \ registry \end{array}\right][/tex]

Explanation:

what type of data type is 1+78-5​

Answers

Answer:

Integer

Explanation:

Given

[tex]1 + 78 - 5[/tex]

Required

The datatype

1, 78 and -5 are all numbers and they are without decimal points,

When a number is without decimal, such number is referred to as integer.

Hence, the datatype is integer

What is a number that refers to the position of an item on a list?
variable
parameter
operator
index
PLZ HELP IM TIMED

Answers

Answer:

Parameter

Explanation:

a parameter is an argument that is used to call something, for example in an array when 0 is referenced as the first element in the array.


A file format refers to the background in a presentation.
True
False

Answers

Answer:

False

Explanation:

Required

Describe file format

Literally, file format means file extension and it describes the type of file.

For instance:

. d o c is a file format of word documents

. j p g is a file format of  images

etc.

Hence, the statement is false

Answer: The answer is false

Explanation: File formats are linked to certain programs

what is meant by cyber law​

Answers

Explanation:

Cybercrime is criminal activity that either targets or uses a computer, a computer network or a networked device


Which tab is used to create a
new e-mail?

O File
O View
O Folder
O Home

Please help!!!!!!!!!!!!!

Answers

Answer:

Mail tab

Explanation:

Please mark as brainliest answer as it will also give you 3 points

File , brainliest answer. Hope this helps

Can anyone help me solve this?

Answers

Answer:

what should be basically be done in this question?

that’s not a question

Please help me with my question ​

Answers

Answer:

1. Template

2. Name of the website

3. Signature of the instructor

1. Ngangingazi Ukuthi Ukulalela Abazali Nothisha Bami Kuletha Impumelelo
Enhle Kangaka.
[50]​

Answers

Answer:

yebo kumele ubalalele ngoba ayikho into yakho eyophumelela ungabalalelanga abazali

Hi there!
I am writing a research paper on Satellite internet. I have about 4 out of 6 pages of information written down. What are some topics to talk about regarding satellites? It does not have to be specifically about satellites. Just some things to add to the paper. I am not sure what subject it fall under, so i'm going to post it twice.
Thank you in advance.

Answers

Answer:hi there

Explanation:

Satellite Internet access is Internet access provided through communication satellites. Modern consumer grade satellite Internet service is typically provided to individual users through geostationary satellites that can offer relatively high data speeds

como se genera la electricidad con energias no renovables
porfa alguien me ayuda llevo muchas horas buscando la respuesta
doy corona y todos lo puntos que pueda

Answers

Answer:

efeiueur eiuube erferve

Explanation:

Answer:

La energia no renovable proviene de fuentes que se agotaran o no se repondran durante miles o incluso millones de años.

Los combustibles fósiles se queman para generar energía y electricidad. Por ejemplo, carbón.

What is the output of the following code:
list1 = [ 'cyber', 786 , 2.23, 'square', 70.2 ]
print (list1[1] )

Answers

Answer:

786

Explanation:

In Python, and of course many other programming languages, lists are one of the built-in data types used to store several items in a variable.

In creating a list, the items, which may be of different types (e.g integer, float, string e.t.c), are placed in a square bracket and each item is separated from the other by a comma. The following are an example of a list.

myList = ["fish", "meat", 5, 8, "egg"]

scores = [10, 34, 78, 90]

To access or retrieve an item in a list, the index of that item is used. Indexes start from 0. For example, in myList the first item (which is fish) has an index of  0. The second item (which is meat) has an index of 1 and so on. In scores, the first item (which is 10) has an index of 0, 34 has an index of 1, 78 has an index of 2 and so on.

Now;

i. to access the first item in myList, we simply write: myList[0]. This will give fish

ii. to access the third element in scores, we simply write: scores[2]. This will give 78

From the list given in the question which is:

list1 =  [ 'cyber', 786 , 2.23, 'square', 70.2 ]

print(list1[1]) will print the item at index 1 which is 786.

Therefore, the output of the code is 786

What is the output of:

print (8 % 4)

Answers

Answer:

0

Explanation:

The statement, print(8 % 4) will produce the output 0 ;

The print statement is an inbuilt function which is used to output a typed string or display result of a Mathematical calculation and so on.

The expression in the print statement gives 0;

8%4 means, the remainder when 8!is divided by 4 ; 8 /4 gives 2 without a remainder. Meaning that :

8%4 = 0

Hence, print(8 % 4) = 0

what is the effect of flattening layers in image editing?
you can reduce file size by flattening layers. this operation mergers all ___ layers into the background and discards hidden layers.
all ___ areas that remain are filled with white.

first blank
a. black
b. colored
c. transparent

second blank
a. dark
b. visible
c. bright

Answers

The answer to this blanks are black and visible

Answer:

Hello There!!

Explanation:

I believe the answers are:

-First blank=>c. transparent

-Second blank=>b. visible.

hope this helps,have a great day!!

~Pinky~

What information is automatically generated from the company identifier and product name?

A.
project name
B.
class prefix
C.
bundle identifier
D.
organization name

Answers

I think it’s project name, but I’m not 100% positive

Kirstie needs a computer for word processing, emailing, downloading high definition TV
series from an online store and basic photo editing.
Which computer would you recommend for Kirstie? Give reasons for your answer.

Answers

NmmkkjdijdjrjrjdjirjrkdidiL028


After you have figured out your storyline, what should be the next thing to
focus on?
1.character devlopment
2. What you want to name your video​

Answers

Answer: 2

A storyline figured out means you should already know the plot, setting, conflict, theme and characters (character development)
Figure out the story line, plan things out

You are going to create multiple functions that will take in the appropriate measurements as parameters and calculate the area of the specific shape.

The following shapes must be included:
Square, Triangle, Circle, and Trapezoid

Feel free to add on more shapes if you want!!

Answers

Answer:

circle

Explanation:

Answer:

circle

Explanation:

Have you searched Buzz Ch.at on playstore​

Answers

Answer:

Reorder terms.

y=52x−1

Cancel the common factor of 22.Factor 22 out of −2-2.

y−4=5x2+52⋅(2(−1))y-4=5x2+52⋅(2(-1))

Cancel the common factor.

y−4=5x2+52⋅(2⋅−1)y-4=5x2+52⋅(2⋅-1)

Rewrite the expression.

y−4=5x2+5⋅−1y-4=5x2+5⋅-1

Multiply 55 by −1-1.

y−4=5x2−5

Byte pair encoding is a data encoding technique. The encoding algorithm looks for pairs of characters that appear in the string more than once and replaces each instance of that pair with a corresponding character that does not appear in the string. The algorithm saves a list containing the mapping of character pairs to their corresponding replacement characters.
For example, the string "THIS_IS_THE_BEST_WISH" can be encoded as "%#_#_%E_BEST_W#H" by replacing all instances of "TH" with "%" and replacing all instances of "IS" with "#".
Which of the following statements about byte pair encoding is true?
A. Byte pair encoding is an example of a lossy transformation because it discards some of the data in the original string.
B. Byte pair encoding is an example of a lossy transformation because some pairs of characters are replaced by a single character.
C. Byte pair encoding is an example of a lossless transformation because an encoded string can be restored to its original version.
D. Byte pair encoding is an example of a lossless transformation because it can be used to transmit messages securely.

Answers

Answer:

C. Byte pair encoding is an example of a lossless transformation because an encoded string can be restored to its original version.

Explanation:

Byte pair encoding is a form of encoding in which the most common pairs of consecutive bytes of data are replaced by a single byte which does not occur within the set of data.

For example, if we has a string ZZaaAb, it can be encoded if the pairs of string ZZ are replaced by X and the second pair by Y. So, our data now becomes XYAb.

To get our original data, that is decode it, we just replace the data with the keys X = ZZ and Y = aa thus allowing our original data to be restored.

Since our original string is restored without loss of data, it implies that byte pair encoding is an example of a lossless transformation because an encoded string can be restored to its original version.

Nina visited an area that receives a large amount of precipitation during all twelve months and is typically warm year round. The area also has a large variety of organism diversity. What biome did Nina most likely visit?

Answers

Answer: Rainforest

Explanation:

A rainforest is an area that typically has tall, green trees and also has a high amount of rainfall. Rainforest can be found in the wet tropical uplands and lowlands. The largest rainforests can be seen in the Amazon River Basin.

Since the area visited by Nina has a large amount of precipitation during all twelve months, typically warm year round and has a large variety of organism diversity, then the biome thatcNina most likely visited is the rainforest.

describe orderly how to save a Word document into a folder​

Answers

In order to do that you go onto the document you are going to save, on the top left it has the word “file”, click on that, once clicked it should say “Save as” and click on that, it will then ask you where you want it or which folder and you click the folder you want and finally click “save”
Other Questions
Why are levels of estrogen and progesterone are low in the blood of a female during menstruation? When the homologous chromosomes align at the equator and then separate during meiosis I, they do so randomly. This event supports Mendels Law of Blood and water flows a weupeTON 9ians do not rely on their lungs alone for breathing in air. They need the skin aadequate intake of oxygen. Which of the statements below explains the reasonmphibians have only one lung to breathe in airnly a small amount of air enters the lungs as they breathe.surface area of the lungs are small compared to other terrestrial vertebratsurface area of the lungs do not have folds compared to other terrestrial v The answers are A.9B.25C.18 D.15 PLEASE HELPPPP H phng trnh 1/x + 1/y = 5/24 4/x + 3/y = 3/4 The value of H for the reaction below is -6535 kJ. ________ kJ of heat are released in the combustion of 16.0 g of C6H6 (l)?2C6H6 (l) + 15O2 (g) 12CO2 (g) + 6H2O (l) please help me thank u ! any one going to answer my question HELPPPPPPPPPPPPPPPPPPPPP You pick a card at random. Without putting the first card back, you pick a second card atrandom.5 6 7 89What is the probability of picking a 5 and then picking a prime number?Simplify your answer and write it as a fraction or whole number. The best ending for your speech is... *5 points"So yeah""Thank you, thank you very much"A conclusion that is powerful, memorable, and sums up your positionConclusions are overrated and can push you over your time limit. What is the volume of a triangular pyramid if the base area is 125 square feet and the height is 15 feet 1. Which of the two pictures can better give you theidea of how a whale moves, how it really lookslike and what sound it makes? Why? Q9. Place the stars in order from highest temperature (1) to lowest temperature (8). pls i need help with an essay Which statement explains the difference between a myth and an allegory?A.A myth is a more complicated narrative, while an allegory is shorter and provides a moral lesson.B.A myth provides a quick message about a moral issue, while an allegory references an event in the Bible.C.A myth uses animals to represent human traits, while an allegory focuses on historical figures.D.A myth focuses on an entertaining story, while an allegory recounts information important to a specific culture. A 9.0 is how many times more powerful than a4.0 on the Richter scale? A 45000 watt crane operating at full power lifts a 2100 kg object vertically for 17.4 seconds. How high has the crane lifted the object? describe your house to your classmate who plans to attend your birthday party 20.Which is the best summary of "Out, Out-" by Robert Frost?