Write a code snippet Now write your own code snippet that asks the user to enter two numbers of integer type (one at a time) and prints their sum. >>>your code starts here HTML Editor B

Answers

Answer 1

Explanation:

num1= print("Enter a number :")

num2 = print("Enter a number :")

sum = num1 + num2

print(sum)


Related Questions

may anyone please help me here thank you!​

Answers

Answer: I do not know if this is all letters if you use answer key on there search use that, this will may help you so enjoy

Explanation:

what are computer packages?​

Answers

Answer:

Application packages include word processors, spreadsheets, databases, graphics, and presentation software. Generic software is a term used to describe this sort of software.

Answer:

Word processors, spreadsheets, databases, graphics and presentation software are all examples of application packages. Hope this helps!

Explanation:

What part of the microcomputer is considered the "brain" that follows the
instructions sent to it by software running on the computer?
O A. Monitor
O B. Central processor unit (CPU)
O C. Read-only memory (ROM)
O D. Random access memory (RAM)
SUBMIT

Answers

Answer:

The computer has an electronic brain called the Central Processing Unit/CPU, which is responsible for processing all data into information according to the instructions given to the computer.

Explanation:

Answer:

A

Explanation:

Can someone please help me! It’s due Thursday!

Answers

Answer:

if the input is zero the out put is 1

Explanation:

because if you think about it if the input was 1 the output would be zero

List the factors that affect the CPU performance?​

Answers

Clock speed
Cache size
How many cores
Bandwidth
Heat
Bus width

Given int[] array, return a new int[] that contains every other element of array. for example, if array = {0, 1, 2, 3, 4, 5}, return {0, 2, 4}.

Hint: How big does the new array have to be?

Tip: Write down an example array to help find the pattern between the index from the old array and the index in the new array.

Answers

This is how you do it in python:

Code:

def everyother(array):

   return array[::2]

example_array = [0, 1, 2, 3, 4, 5]

print(everyother(example_array))

Output:

[0, 2, 4]

Explenation:

The key to this problem is "array[::2]".

Array[start : stop : step]

Writing "array[::2]" is the same as writing:

Array[0 : -1 : 2] or Begin at 0, stop at the end and take every 2:nd value

greg is using the microsoft office application and unsure of how to use microsoft access who should help resolve the problem

Answers

The best person to help Greg in the use Microsoft access  is computer Trainer.

What is Microsoft Access used for?

The  use of Microsoft Access is known to be a form of  information management software that often aid a person in the saving of information and also for reference, reporting, etc.

The best person to help Greg in the use Microsoft access  is computer Trainer as he or she will teach Greg all that is to be known concerning the software.

See options below

Help Desk Representative

Computer Trainer

Manager

All of the above

Learn more about Microsoft from

https://brainly.com/question/1538272



The computing field tends to be
some minority groups. Select 2 options.
discouraging towards
underrepresented by
full of
overrepresented by
satisfactory to

Answers

Answer:Below

Explanation:

The computing field tends to be discouraging towards and underrepresented by some minority groups.

The computing field is often discouraging towards and underrepresented by certain minority groups which means that individuals from these groups face challenges and obstacles in accessing and thriving in the field, while their presence and representation within the computing industry are significantly lower compared to other groups.

Efforts are needed to address these disparities and create a more inclusive and diverse computing community.

To learn more on Computing field click:

https://brainly.com/question/30168113

#SPJ2

Write a sub-program to display the acceleration of car. The program should ask initial velocity, final velocity, and time taken by the car from user in main module and pass them as parameter list when a sub- program is called. ​

Answers

Explanation:

If your asking the program in modular programming of Q-Basic & in sub procedure then here it is.

I hope it will help you..

- Regards Rishab..

Why Is Microsoft software so dominant in the business world?

Answers

Answer:

Their successes can largely be attributed to information cascades and network effects. Despite alternative solutions that many claim are better than Windows and Office, the Microsoft products maintain their overwhelming majority in the market. The direct-benefits achieved by using Microsoft software are easy to see.

Explanation:

Write a function that receives a one-dimensional array of integers and returns a Python tuple with two values - the minimum and maximum values of the input array. The content of the input array must not be changed. You may assume that the input array will contain only integers, and will have at least one element. You do not need to check for these conditions. For full credit, the function must be implemented with O(N) complexity.

Answers

The function that receives array of integers and returns  the minimum and maximum values as a tuple is as follows:

def min_max(array):

    x = min(array)

    y = max(array)

    return (x, y)

print(min_max([4, 6, 7, 8, 1, 8, 14]))

Code explanation

The code is written in python.

We defined a function named "min_max". The function accepts a parameter called array.The variable x is used to store the minimum value of the array.The y variable is used to store the maximum value of the array.Then, we return the minimum and maximum values as a tuple.Finally, we call the function with the required parameter.

learn more on python here: https://brainly.com/question/13199913

[ASAP!] Question # 6 (Visual Python)
Multiple Choice
Which line of code moves the ball up?

1. myBall.pos.z = myBall.pos.z + 2
2. myBall.pos.x = myBall.pos.x + 1
3. myBall.pos = myBall.pos + 1
4. myBall.pos.y = myBall.pos.y + 2​

Answers

Hello!

The answer to your question is:
4. myBall.pos.y = myBall.pos.y + 2

Explanation, if you’d like one:
1. is incorrect as “z” isn’t a direction in which the ball can move.
2. is incorrect as “x” would be moving the ball right.
3. is incorrect as there is no direction defined.

I hope that this helps you out!

The line of code that moves the ball up is myBall.pos.y = myBall.pos.y + 2​. The correct option is 4.

What is code?

The term "code" typically refers to a set of instructions written in a programming language and executable by a computer or interpreter to perform a specific task or set of tasks.

Code can be used to create software, websites, games, scripts, and other things. Python, Java, C++, JavaScript, and Ruby are among the programming languages that can be used to create it.

The line of code myBall.pos.y = myBall.pos.y + 2 is assigning a new value to the y-coordinate of the position vector myBall.pos of the object named myBall.

The new value of the y-coordinate is calculated by taking the current value of myBall.pos.y and adding 2 to it. The result is then assigned back to myBall.pos.y, effectively updating the position of the myBall object.

Thus, the correct option is 4.

For more details regarding code, visit:

https://brainly.com/question/1603398

#SPJ5

To add a block device to a VDO volume, use the following command.

Answers

Truee


:))))))))))
Glad i can help.




:jjjj

aya what's the full form of JPEG ?​

Answers

Hi!jpeg stands for "Joint Photographic Experts Group."

Answer:

"Joint Photographic Experts Group",

Explanation:

JPG is a digital image format which contains compressed image data. With a 10:1 compression ratio JPG images are very compact. JPG format contains important image details. This format is the most popular image format for sharing photos and other images on the internet and between Mobile and PC users.

convert the following binary to decimal number .
a). 101101 ​

Answers

first things first you have to do write it down which you did
step 2: then you multiply each digit of the binary number by the corresponding power of 2: 1x25 + 0x24 + 1x23 + 1x22 + 0x21 + 1x2 0
step 3: solve the powers: 1x32 + 0x16 + 1x8 + 1x4 + 0x2 + 1x1 = 32 + 0 + 8 + 4 + 0 + 1
step 4: add the numbers written above

32 + 0 + 8 + 4 + 0 + 1 = 45.
So, 45 is the decimal equivalent of the binary number 101101.

[tex](101101)_2\\\\=1\times 2^5 + 0 \times 2^4 + 1 \times 2^3 +1 \times 2^2 + 0 \times 2^1+1 \times 2^0\\\\=32+0+8+4+0+1\\\\=(45)_{10}[/tex]

The stratis command that will display the block devices included in pool is ____________.

Answers

Answer:

The lsblk command

Explanation:

You'd run the lsblk command :]

Answer:

isblk command

Explanation:

briefly explain how ict has become a competitive to in supply chain management

Answers

Answer:

In contemporary times, supply chains can be sources of competitive advantage as efficient management of the supply chain leads to cost savings and synergies between the components of the supply chain leads to greater profitability for the firms.

Explanation:

1. Imagine you were using Blender to create a cone-shaped mesh and changed the number of
vertices from the default of 32 to just 3. What shape would you end up with?

Answers

Answer:

A triangle

Explanation:

Three vertices make a triangle.

The Synonyms submenu offers a list of synonyms for a word. Is it always a good idea to use whatever synonyms are presented on the Synonyms submenu for a given word? Why or why not?

Answers

Answer:

No

Explanation:

Synonyms are sometimes NEARLY the same. Not exactly the same. Therefore the meanings can change a bit. For example a synonym for "bad" is "careless."

"I think corn is bad."

and

"I think corn is careless." - this sentence wouldn't make sense.

That's why, no, you shouldn't ALWAYS use the synonym.

The project team is creating detailed documents to guide the team. What phase of the project life cycle are they in?

A. project planning

B. project initiation

C. project closure

D. project execution

Answers

Answer:

they are in project planning

Ryan has inserted an image into a Word document, but the image is too large. There are sections of the image that he would like to eliminate to decrease the overall size of the image.

Answers

more Explanation                                                  

more explantion

Can someone tell me why this keeps exiting no matter what move and how I can fix it I honestly hate this class... you guys can have 100 points

#Andrew
#IT140
#ModuleSixMilestone
rooms = {'Manor Entrance': {'South': 'Foyer'},
'Foyer': {'North': 'Manor Entrance', 'West': 'Cellar'},
'Cellar': {'East': 'Foyer'},
'Exit': {'Exit': 'Exit'}} # The dictionary links a room to other rooms.

currentRoom = 'Manor Entrance' # Start the player in the Manor Entrance.


print('Move commands: North, South, East, West, Exit.')
print(' ------------------- ')
print('You are in the Manor Entrance.')
print('Enter your move or exit the game. -> ')
# User input a command to either move to another room or exit the game.
# If the player enters "exit", the game should move them to the "exit" room.
moveCommands = ['North', 'South, ''East', 'West', 'Exit']
command = input()

# Gameplay loop for moving to different rooms.

if currentRoom == rooms['Manor Entrance']:
if command == 'Exit': # If the player enters "exit", the game should move them to the "exit" room.
print('The virus will destroy the world now that you have quit.')
elif command == 'South':
print('You entered the Foyer!')
print(currentRoom[1])
elif command <= 'South':
print('Error. Try again!') # Print an error message if the player enters an invalid direction.

if currentRoom == rooms['Foyer']:
if command == 'Exit': # If the player enters "exit", the game should move them to the "exit" room.
print('The virus will destroy the world now that you have quit.')
elif command == 'West':
print('You entered the Cellar!')
print(currentRoom[2])
elif command <= 'West':
print('Error. Try again!') # Print an error message if the player enters an invalid direction.

if currentRoom == rooms['Cellar']:
print('You win! You have made it to the Cellar and destroyed the Nemesis!')
if command == 'Exit': # If the player enters "exit", the game should move them to the "exit" room.
print('You have eradicated the Virus.')

Answers

Answer:

Something like this?

The only requirement this doesn't exactly hit is moving the user to the "exit" room. It doesn't make use of that entry in the dictionary. However, this is the best way of doing it to avoid multiple "if" statements.

Select the correct answer.

If you want to develop an Android app, you need to become a registered developer with which platform?

Answers

Answer:

C. Android

Explanation:

C. Android is the answer for your question

Answer:

c it's the only thing, you have to know how to work androids

Write a Java Program that asks the user for 12 months worth of rainfall stats. These values should be entered by the user and placed in an array. Once all the values are entered the
program should print out the average rainfall per month, highest rainfall month, and lowest rainfall month. Use the following values: Jan - 1.2", Feb - 2.8", Mar - 4.9". Apr - 11.3", May
12.3", June - 10.1", Jul - 7.9". Aug - 8.1", Sep - 6.7", Oct - 5.3", Nov. - 4.2". Dec - 3.9".
The average is: 6.5583, month with largest - May, month with lowest - Jan.
-
5

Answers

The program is an illustration of conditional statements and loops.

Conditional statements are used to make decisonsLoops are used for iterative purposes

The main program.

The program written in Java, where comments are used to explain each action is as follows:

import java.util.*;

public class Main {

public static void main(String[] args) {

   Scanner input = new Scanner(System.in);

   //This declares the array

   double rainfall[] = new double[12];

   //This initializes the total amount of rainfall

   double total = 0;

   //This gets input for the array

   for(int i = 0; i < 11; i++){

       rainfall[i] = input.nextDouble();

       total+=rainfall[i];

   }

   //This initializes the smallest and the largest amount of rainfall

   double largest = 0; double smallest = 0;

   int smallestMonth = 0; int largestMonth = 0;

   for(int i=1; i< 12; i++){

       //This determines the largest amount of rainfall

       if(rainfall[i] > largest){ largestMonth = i; largest = rainfall[i]; }

       //This determines the smallest amount of rainfall

       else if (rainfall[i] < smallest){ smallestMonth = i; smallest = rainfall[i]; }

   }

   //This initializes the months

   String months[] = new String[]{"January","February","March","April","May","June","August","September","October","November","December"};

//This prints the required output

System.out.println("The average is: " + total/12+", month with largest - "+months[largestMonth]+", month with lowest - "+months[smallestMonth]);

}

}

Read more about conditional statements and loops at:

https://brainly.com/question/24833629

Anyone knows how to answer this?

Answers

Answer:

2. The human walking that is turning bigger

3. The artist show repetition by making the same pattern in one image but it just getting closer and larger.

4. Maybe the artist could add more repetition details in the top image and make the bottom image more less confusing to understand.

why are microwave antennas placed on top

Answers

Microwave transmission towers can also be placed strategically on rooftops, hills and even mountains to make them as efficient as their counterparts but not as expensive. This is why it's no wonder why more companies are now replacing their old systems with microwave antennas.

Irina proofread her résumé by using the Spelling and Grammar Check In Microsoft Word. What did the word processorIncorrectly catch as an
error?
OA. capitalization of the state name
OB. grammatical errors
OC speling error on the word "organisation"
OD. spelling error on the name "Rowell Industries
OE duplicate words

Answers

If I've understood your question properly...

I'd go for:

OC spelling error on the word "organisation"

In the US they tend to spell it "organization", and in the UK they tend to spell it "organisation".

When a transition is applied to a slide, how is it visible in slide sorter view

Answers

Answer:

a small icon

Explanation:

Go to the Slide Sorter View. If you've applied a transition effect to any of the slides then PowerPoint places a icon

How do I find enchants faster on deepwoken?

Answers

Answer:

Rogue Constructs, Primadon, Fishing

Explanation:

Multiple methods may aid you in finding enchants faster. Notable ways include farming the Rogue Construct at Minityrsa which nets solid total loot (each item is rolled individually for enchants which is why larger chests usually means more enchants and why enchants can be in groups of more than 1 in chests) and farming Primadon. Fishing has also become a prominent method of enchant farming but is less reliable than the other two stated methods if you already have a strong PVE build. Happy enchant farming.

Answer:

Duke

Explanation:

Duke loves to drop enchants!! I use him to get my enchants, primadon sometimes. Rogue construct is ehhh but it works. But go gran sudaruska! Find it at crypt of unbroken!

List the factors that affect the CPU performance?​

Answers

Multiple cores
Cache memory,
clock speed,
word length,
address bus width,
data bus width.
Other Questions
Explain the significance of Antonio Lopez de Santa Ana please help! unrelated comment/answer = report Jasmine unfolded a cardboard box. The figure of the unfolded box is shown below:A long rectangle divided along the length into 4 equal squares is shown. Along the upper edge length of the second square is shown another square, and along the lower edge length of the fourth square is shown another square. The first square from the left has two adjacent sides labeled as 2 inches each.Which expression can be used to calculate the area of cardboard, in square inches, that was used to make the box?2 x 6 x 66 x 1 x 16 x 2 x 21 x 6 x 6 Question 7 of 10Read the sentence:The moon was very interesting tonight.Which revision makes the sentence the most vivid?O A. A misty halo enshrouded the heavy moon.O B. The sun went down so the moon was out.O C. The moon was out in the sky this evening. PLEASE HELP!!!True or False? The "light" side of the moon is always facing Earth and the "dark" sideof the moon is always facing away. what is the distance between these two numbers -3 1/4 and 4 1/2 Given rectangle WSDV, WD = 531 and SV = 2+11. Find the measurement of diagonal SV HELP!! I NEED HELP WITH MY MATH 50 POINTS AND BRAINLIEST IF IT INCLUDES STEPSCreate and solve a multi-step equation WORD PROBLEM that includes at least THREE STEPS (three ormore mathematical operations), that will have a final answer of 12. THE EQUATION MUST INCLUDE AVARIABLE 100 points and brainliest please help i only got 10 minutes! Suppose there were several large outstanding checks on the year-end bank reconciliation that did not clear the bank by the cutoff date. Discuss the possible cause(s) of this, and discuss the nature of the potential misstatement(s) that could result. A ________________ is the amount that one division charges when it sells goods or services to another division within the same company. What is the pH of a solution that has a [H+] of 2.5x10-OM. When arterial blood gases done on a client who is being resuscitated after cardiac arrest show a low pH, which factor is the likely cause of the laboratory result Can someone help me with this problem? Condos in Padre Island increase in value by 7% each year. If the Garza's family's condo is now worth$150,000, what will it be worth in 8 years (Round to the nearest cent) ? TEKS A2.5(B)(D) respond using a 5-7 sentence paragraphDescribe some of the non-Biblical practices thatwere taking place throughout the CatholicChurch that upset Martin Luther.Pls help The difference of three times a number and a second number is two. The sum of the two numbers is fourteen. What are the two numbers? 1. X=7 and y=3A. X+Y=B. X+X+Y=C. 2X+5Y=D. 8(X+Y)=E. 15(2X+Y+Y)= What is the solubility of MgCO in a solution that contains 0.080 M Mg ions? (Ksp of MgCO is 3.5 10)