Currently, this program will add 6 and 3 together, output the math problem and output the answer. Edit this code so that a random number is generated from 1 - 10 (inclusive) for the variables a and b. Also, instead of adding the two numbers together, the edited program should multiply them, and output the proper math problem and answer. Be sure to update every line of code to reflect the changes needed.

Answers

Answer 1

In python:

import random

a = random.randint(1,10)

b = random.randint(1,10)

print(f"{a} * {b} = {a * b}")

I hope this helps!

Answer 2

Answer:

import random

a = random.randint(1,10)

b = random.randint(1,10)

answer = a * b

print (str(a) + " * " + str(b) + " = " + str(answer))

Explanation:

Create a code that outputs a random equation then solves it automatically ^


Related Questions

I'm having trouble changing my google account password

I tried to contact Google account recovery for can't change my password I tried to verify Google with my phone I used phone password and my fingerprint to let google verify me and keep making same pages both ways didn't work but I really need this account well its actually my school account and I keep reveive this message:contact your domain for your help and only option had is learn more or go back
only way to fix this problem is create account ,contact google account recovery ,delete my school account but deleting my school account requires to enter my google account password what should I do please help me !!!!!!​

Answers

contact your school and see what they can do

When using the red / yellow I green method to present status of a project, green can mean which of the following?
O ready to start
O complete
Oon track
O all of these

Answers

Answer:

D. All of these

Explanation:

I hope this helps you! Have a great day!

bren~

Help me, I'll mark brainiest

Help me, I'll mark brainiest

Answers

Answer:

i believe the answers that you are looking for are c and c

Explanation:

again im not 100% sure that is right but i hope they are!

A numbering system such as identifiers for control and sub accounts is superior to the text based system of names, because .................
it is cheaper to implement.
it results in fewer errors and avoids duplication, making it easier to generate unique identifiers.
it is required by the Accounting Principles Board.
is understood better as it has been a long comvention and was used even before the advent of computer based accounting systems.

Answers

A numbering system such as identifiers for control and sub accounts is superior to the text-based system of names because it results in fewer errors and avoids duplication, making it easier to generate unique identifiers.


Implementing a numbering system for control and sub accounts offers several advantages over a text-based system. Firstly, it reduces the likelihood of errors and duplication. With numbers, it is easier to ensure uniqueness and avoid confusion compared to relying on names, which may be subjective, ambiguous, or prone to spelling mistakes.

Secondly, a numbering system simplifies the process of generating unique identifiers. By following a consistent numerical pattern, it becomes easier to assign and manage account codes. This promotes efficiency and accuracy in accounting processes, such as record-keeping, analysis, and reporting.


While a numbering system is not necessarily required by the Accounting Principles Board, it is widely adopted and recommended in the field of accounting. The convention of using numerical identifiers predates computer-based accounting systems and has stood the test of time due to its practicality and effectiveness. Therefore, the use of a numbering system for control and sub accounts is considered superior to a text-based system, as it offers cost-effectiveness, minimizes errors and duplication, and aligns with longstanding accounting practices

To know more about unique identifiers,visit:
https://brainly.com/question/14439455
#SPJ11

Which guidelines should be used to make formatting tasks more efficient?

Use pasted text only; this does not keep the original formatting.
Keep formatting fancy; this makes Word documents look better.
Save styles in the document; this makes working with multiple documents easier.
Avoid pasting text from other documents; this makes formatting easier.

Answers

Answer:

Use pasted text only; this does not keep the original formatting.

Explanation:

bc

Answer:

Use pasted text only; this does not keep the original formatting.

Explanation:

What are the name of these tools?

What are the name of these tools?

Answers

saw.

hammer.

cultivator.

ladder.

file.

mallet

(1) describe how you generally use your cellphone on a daily basis (including with whom do you communicate for what purpose with what frequency); (2) read the Supplementary Reading (click here: Does the Internet Make You More or Less Connected?), and discuss how YOUR cellphone use make YOU more or less connected.

Answers

Brainly wasn't letting me answer, so here's an attachment of the answer

What are the Differences in the OSHA Standards for Construction and General Industry?

Answers

The Occupational Safety and Health Administration (OSHA) sets different standards for construction and general industry. The differences between the two standards are based on the types of hazards encountered in each type of industry.

What is hazards ?

Computer hazards are a broad term that encompasses any potential risks posed by computer systems, networks, and/or software. This may include, but is not limited to, hardware failure, software incompatibility, malware, data loss, security breaches, and system instability. Computer hazards can lead to serious consequences such as loss of data, financial damage, or even physical risks.

Overall, the construction standards are more specific and detailed due to the unique hazards associated with construction sites. The general industry standards, on the other hand, are more broadly writte.

To learn more about hazards
https://brainly.com/question/28221577
#SPJ4

NEED THIS ASAP!!) What makes open source software different from closed source software? A It is made specifically for the Linux operating system. B It allows users to view the underlying code. C It is always developed by teams of professional programmers. D It is programmed directly in 1s and 0s instead of using a programming language.

Answers

Answer: B

Explanation: Open Source software is "open" by nature, meaning collaborative. Developers share code, knowledge, and related insight in order to for others to use it and innovate together over time. It is differentiated from commercial software, which is not "open" or generally free to use.

What is a PivotTable?

Answers

You use it to analyze numerical data

Answer:

A PivotTable is a tool in a spreadsheet program, such as Microsoft Excel, that allows you to organize and summarize large amounts of data. PivotTables allow you to quickly create reports and view your data from different perspectives. You can use PivotTables to create calculations, compare data, and find trends and patterns. PivotTables are a useful tool for data analysis and can help you make better decisions based on your data.

Examine the following declarations:


int area;
Point pt;


Which of the following is true?

a. both are primitive variables

b. area is a primitive variable, and pt is an object reference variable.

c. both are reference variables

d. area is an object reference variable, and pt is a primitive variable.

Answers

C. Both are reference variables

To ensure your online résumé is selected by employers using online searches, you must include _____ in your résumé.

html
key words
long descriptions
hyperlinks

Need answer asap!!

Answers

You must use key words.

A big part of SEO is choosing the correct keywords

Answer:

he correct answer is letter "B": keywords.

Explanation:

Human Resources (HR) staff usually handle an overwhelming number of resumes during openings. To make sure during online searches a curriculum vitae will be selected, keywords must be included. It is most likely that the HR staff will just filter words with the characteristics of the person they are looking for instead of looking at every resume they receive.

plz mark as brainliest

what type of address is used so that local applications can use network protocols to communicate with each other?

Answers

The type of address used so that local applications can use network protocols to communicate with each other is known as the "loopback address."

The loopback address refers to a reserved IP address used to enable a computer to communicate with itself.

It is often used by computer software programmers to test client-server software with no connection to a live network and without causing problems.The loopback address is set up by default on every computer.

As a result, when you need to test network functionality on a machine that is not on a network or a machine that is disconnected from the internet, you can use the loopback address to simulate network functionality.

To know more about loopback visit:

https://brainly.com/question/32108851

#SPJ11

How can learning opportunities for AI be extended to all

Answers

Answer:

Learning opportunities for AI can be extended to all through the inclussion of courses and different teaching methods related to Artificial Intelligence, new technologies, computer science, programming and, in short, everything related to the digital world, in the educational plans at the national level. This is so because artificial intelligence and computer systems are the basis for the development of the new tools jobs of tomorrow. Thus, education in these subjects is essential so that citizens can enter the labor market once they acquire the necessary age, having the knowledge to do so in a proper way.

how to use a while loop in pascal for 36 students

Answers

To use a loop in pascal

The initial step is executed first and only.This step allows you to declare and initialize any loop control variables.

Next the conditions is evaluated.

After the body of the for-do loop executes the value of the variable is either increased or decreased.

The condition is now evaluated again.

what are the advantages of hybrid computer

Answers

The advantages of hybrid computers are:

They have a large amount of computing speed speed that is often helped by the all-parallel configuration made by the analog subsystem. It is very useful in terms of numerical solutions for any work of differential equations and also in flight simulation.

What is an advantage of hybrid computing?

Hybrid cloud computing is known to be one that gives businesses a lot of control over their data and it is one that have a good or better security as it tends to lower the risk of exposure of data.

Note that,The advantages of hybrid computers are:

They have a large amount of computing speed speed that is often helped by the all-parallel configuration made by the analog subsystem. It is very useful in terms of numerical solutions for any work of differential equations and also in flight simulation.

Learn more about hybrid computing from

https://brainly.com/question/21474132

#SPJ1

You have been asked to join a team that is responsible for creating a handbook that outlines appropriate employee correspondence. Give two examples of topics that you would include in the manual along with why you think it would be important to include them.

Answers

Two examples of topics that would be included in the manual are the service provided by the company and the papers provided by the employee.

What is employee correspondence?

During a job search, a series of written communications is typically required. Both parties anticipate this crucial discussion between the applicant and the employer.

A thorough series of letters and other paperwork are typically prompted by an employer's positive response. There is very little room for a surprise with proper documentation.

Therefore, the service offered by the business and the documents supplied by the employee are two examples of topics that would be covered in the manual.

To learn more about employee correspondence, refer to the below link:

https://brainly.com/question/28162514

#SPJ1

the _____ allows an expert system user to understand how the system arrived at its results.

Answers

The phrase "premeditated" in the passage's fourth sentence ("I moved... step") denotes the narrator is being very cautious as he navigates the fire escape.

What best describes the narrator?

The first person point of view is used by the narrator. His character is a straightforward narration of his narrative. First-person pronouns are used to describe the thoughts, experiences, and observations of a narrator in first-person point of view stories.

It wasn't planned to end up at Concordia after a childhood spent traveling between Europe, Africa, and the United States. He had plenty of time to consider how terrible his acts were and change his ways because it had been carefully thought out and premeditated.

Therefore, The phrase "premeditated" in the passage's fourth sentence ("I moved... step") denotes the narrator is being very cautious as he navigates the fire escape.

To learn more about Narrator here:

brainly.com/question/12020368

#SPJ1

Read the introduction (paragraphs 1-3].
Select the paragraph from the section that shows
how the test will make it seem as though the cars
are completely driverless, even though they are
not.

Answers

Yes so drunk drivers are more wreck less

Cuál es la dirección de la última fila y columna de excel

Answers

Answer:

XFD 1,048,576.

Explanation:

Excel es un programa de Microsoft por el cual se generan bases de datos y planillas de cálculo, que permiten al usuario desarrollar registros contables referidos a sus distintas actividades comerciales, laborales o de otra índole, así como también realizar cálculos matemáticos y operaciones lógicas a través de distintas fórmulas. En la actualidad, el programa tiene un máximo de 16.384 columnas y 1.049.576 filas, con lo cual la ultima fila y columna de una hoja de cálculo será XFD 1.048.576.

How do i cancel my subscription please help it doesnt say cancel anywhere todays the last day of my free trial help

Answers

Answer:

The answer is "turn off auto-renewal"

Explanation:

In the given question it is not defined, which type of subscription it is taking about. so, we assume, it is talking about software subscription and the cancellation of the software can be defined as follows:

The application base subscription provides a monthly or yearly service license scheme, which allows customers to purchase the cost per user.   In general, users were also obligated to claim for there initial fee soon, which also enables it to use the software and by disabling the auto-renewal option we can cancel our subscription.

Giant skyscrapers are made possible by strong materials, a deep foundation, tuned mass dampers, and fast elevators. What are some other things that can help make buildings taller?

Answers

Two factors allowed architects to design taller buildings: the invention of elevators, and the development of steel. One of the early skyscraper architects was Louis Sullivan.
I agree with guy above it is correct thanks

What are the values of a and b after the for loop finishes? int a = 10, b = 3, t; for (int i=1; i<=6; i++) tha; a = i + b; b = t - i; (1 point) A.a = 6 and b = 13 B.a = 6 and b = 7 C.a = 13 and b = 0 D.a = 6 and b = 0 E.a = 0 and b = 13

Answers

At the end of the for loop, the values of a and b will be 6 and 0, respectively. The correct answer is D. a = 6 and b = 0.


Before the for loop starts, a = 10 and b = 3. The for loop will run 6 times, and each time it will execute the following code:

t = a;
a = i + b;
b = t - i;

Let's see what happens to the values of a and b after each iteration:

Iteration 1:
t = 10;
a = 1 + 3 = 4;
b = 10 - 1 = 9;

Iteration 2:
t = 4;
a = 2 + 9 = 11;
b = 4 - 2 = 2;

Iteration 3:
t = 11;
a = 3 + 2 = 5;
b = 11 - 3 = 8;

Iteration 4:
t = 5;
a = 4 + 8 = 12;
b = 5 - 4 = 1;

Iteration 5:
t = 12;
a = 5 + 1 = 6;
b = 12 - 5 = 7;

Iteration 6:
t = 6;
a = 6 + 7 = 13;
b = 6 - 6 = 0;

So after the for loop finishes, a = 13 and b = 0.

Therefore, the correct answer is D. a = 6 and b = 0.

Learn more about loops: https://brainly.com/question/26568485

#SPJ11

what is non verbal communication ?​

Answers

Answer:

Nonverbal communication is the transfer of information through body language, facial expressions, gestures, created space and more.

Explanation:

For example, smiling when you meet someone conveys friendliness, acceptance and openness. Everyone uses nonverbal communication all the time whether they know it or not.

Answer:

Non verbal communication is any communication that doesn't involve words. Instead, it involves body language, such as eye contact, nodding, etc.

Brainliest, please :)

post the solve
Q.1 Write all the MATLAB command and show the results from the MATLAB program Solve the following systems of linear equations using matrices. 2y = 8z = 8 and -4x + 5y +9z = -9. x-2y+z=0,

Answers

The solution for the given system of linear equations is x= 3, y = -1, and z = 2.

As the given system of linear equations can be represented in matrix form as:

| 0 2 8 | | y | | 8 |

| -4 5 9 | x | y | = |-9 |

| 1 -2 1 | | z | | 0 |

MATLAB commands to solve the system of linear equations are:

1. Define the coefficient matrix and constant matrix:

>> A = [0 2 8; -4 5 9; 1 -2 1];

>> B = [8; -9; 0];

2. Solve for the variables using the command ‘\’ or ‘inv’:

>> X = A\B % using ‘\’ operator

X =

3.0000

-1.0000

2.0000

>> X = inv(A)*B % using ‘inv’ function

X =

3.0000

-1.0000

2.0000

Hence, the solution for the given system of linear equations is:

x = 3, y = -1, and z = 2.

Learn more about MATLAB: https://brainly.com/question/30641998

#SPJ11

pls help
Question 2 (1 point)
True or false: when you use someone's copyrighted work in something you are
selling, you only have to cite them.

Answers

The given statement of copyrighted work is false.

What do you mean by copyright?

A copyright is a type of intellectual property that grants the owner the exclusive right to copy, distribute, adapt, display, and perform a creative work for a specific period of time. The creative work could be literary, artistic, educational, or musical in nature. The purpose of copyright is to protect the original expression of an idea in the form of a creative work, not the idea itself. A copyright is subject to public interest limitations, such as the fair use doctrine in the United States.

When you use someone's copyrighted work in something you are selling, you must get their permission first.

To learn more about copyright

https://brainly.com/question/357686

#SPJ13

Help me please!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!????????????????
Briefly explain to me how and why teams are important. Has there ever been a successful person who had no help at all? A person who has ever taught themselves everything without the help of others. If not, explain why it is impossible but if so, explain why it is impossible (10-14 complete sentences)

Answers

Answer:

teams are important because, you can get other people ideas to improve yours. There have been people who have been successful but, could have done better. No one has ever taught themselves because if you do something wrong then you wont know. Teams can help you fix things you have done wrong. They also can help with big projects taking up less time for you and other people. With the help of a team you can accomplish big feats in a short time frame.

Explanation:

write a program prints the sum of the first n positive integers. this is calculated by adding all the numbers from 1 up to the number, n, together. for example, if n were equal to 5, then we’d have 5 4 3 2 1

Answers

If the positive integer n is 5 then output value ,mean by adding all the numbers from 1 up to 5 is 15.

what is integer?

An integer, sometimes referred to as a whole number in algebra, is a number whose decimal (or fractional) portion equals zero. Positive whole numbers, negative whole numbers, zero, and other integers make up the set of all integers.

what is a positive integer?

A whole number higher than zero is what constitutes a positive integer. Every counting number is contained in the set of positive integers (that is, the natural numbers).

#include <iostream>

int main() {

   int n, sum = 0;

    cout << "Enter a positive integer: ";

    cin >> n;

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

       sum += i;

   }

cout << "Sum = " << sum;

   return 0;

}

Input: n = 5

Output: Sum of digits in numbers from 1 to 5 = 15

To know more about positive integers visit:

https://brainly.com/question/26051073

#SPJ4

With respect to the general classes of computers, a ______ is used for small business computing. A) workstation. B) personal computer. C) mainframe

Answers

With respect to the general classes of computers, a personal computer (PC) is commonly used for small business computing.

PCs are designed for individual use, and they offer a cost-effective solution for small businesses that don't require the computing power of a mainframe or the specialized features of a workstation. Personal computers are versatile and can be used for a variety of tasks, from basic office productivity to more advanced data analysis and graphic design. They are also easy to upgrade and maintain, which makes them a popular choice for small business owners who want to keep costs low. Overall, a personal computer is a practical and reliable option for small business computing, and it can help businesses improve productivity and efficiency.

To know more about computer visit:

https://brainly.com/question/21080395

#SPJ11

College is considered _____ education. Please type the correct answer in the following input field, and then select the submit answer button or press the enter key when finished.

Answers

Answer:

Postsecondary education 

Explanation:

Other Questions
3(x-12)=15 what number is x fist to answer gets brainlest Simplify and state any restrictions on the variable. Remember the order of operations. Show all your work for fullmarks! Help me how do I graph this I dont understand at all????????? if the risk free rate is 1%, what will happen to the prices of assets x and y in an efficient market? Several market participants interact in developed markets to organize the exchange of funds from buyers to sellers. Such institutions as investment banks, commercial banks, financial services corporations, credit unions, pension funds, life insurance companies, mutual funds, exchange traded funds, hedge funds, and private equity companies play a key role in facilitating these transfers.Required: Identify the financial institution based on each description given below:a. These financial conglomerates provide a range of services, such as investment banking, commercial banking, and financial advising. b. These are financial intermediaries that share the financial risk of the untimely demise of their policyholders, who make regular payments to financial intermediaries for taking this risk. c. With the use of advanced investment techniques, these largely unregulated portfolios are invested in securities. The investment objective is to offset potential losses by investing in counterbalancing securities. They are open to only a select class of investors. In the triangle below, suppose that mLL = (4x-9), m2M=(x-9), and m2N=r.Find the degree measure of each angle in the triangle.(6x - 9)M0mL =Om 2M =N2m2N =(4x - 9) What makes sure that each new cell will be an exact copy of its parent cell? exaggerationchanges circumstances suddenlysatiremakes something seem too good or too badreversalexposes human weaknessmimics a subject directlyridiculemakes a subject appear to be sillyparody French! Please answer all parts! PR = ? 20 Q 30 5y - 36 T 810 55 S 4x - 12 R What is the equation of the line that passes through the point (2,3) and has a slope that is undefined The stem-and-leaf plots list the ages of the people in Lees study group and in Pauls study group.Which statement is NOT correct?a. Pauls group has a wider range of ages.b. The data for Pauls group has two modes.c. The median age in both groups is 44 years.d. The mean age in both groups is between 41 and 42 years. 9. The population of a city increases by 25% each year, and that city's initial population is 1250. Which function provides a model for P(t), this city's population after t years? A. P(t) = 1250(25)* B. P(t) = 1250(0.25)* C. P(t) = 1250+ (25)* D. P(t) = 1250(1.25)* 1 the women's christian temperance union (wctu): was a small organization or radical feminists. was led by elizabeth cady stanton. 1. Marla moved to a new school and hasn't had much luck making friends. Another new girl in her class smiled at her in first period, so Marla considered saying "hi," but didn't, thinking, "Why bother? No one likes me." Marla's behavior BEST exemplifies:latent learning.learned helplessness.shaping.observational learning. 9. Using Chargaff's Rule, if a DNA strand contains 40% of Guanine bases. Whatpercentage of the nitrogenous bases in the sample are Thymine? ABC operates a branch in Legazpi City. At close of the business on December 31, 2022.Legazpi Branch account in the home office books showed a debit balance of P234,900. The inter-office accounts were in agreement at the beginning of the year. For purposes of reconciling the interoffice accounts, the following facts were ascertained.Computer equipment costing the home office P27,000 was sent to Legazpi branch. The home office will maintain the records of the asset used by the branch. Meanwhile back at the branch, no entry was made.The branch acquired a machinery costing P18,000. The home office will maintain the records of the asset used by the branch. The home office was not yet notified.The home office charged the branch for freight amount to P2,220. It should have been charged to its customer.The home office inadvertently recorded a Legazpi branch remittance of P4,200, as collection from its customers on account.On December 24, 2022, the branch sent a check for P9,600 to its suppliers on account. The branch erroneously recorded the transaction as a remittance to the home office and sent a copy of the debit memo to the home office. The home office recorded this upon receiving the debit memo on December 29, 2022.On December 26, 2022 the branch returned P6,600 of excess merchandise to the home office. The merchandise was received by the home office on December 30, 2022 and credited Lanao Branch Current.The home office allocated advertising and rent expense totaling P5,400 to Legazpi branch. The home office charged the said expense to Laguna branch by mistake, Legazpi branch had not entered the allocated at year-end.A home office customer remitted P3,600 to the branch. The branch inadvertently recorded this transaction on December 28, 2022 as a transfer of cash from the home office. The home office made no entry during the year.Inventory costing P36,000 was sent to the branch by the home office on December 14, 2022. The branch recorded the transaction as a purchase of merchandise on account from outsiders by mistake.How much is the unadjusted balance of the home office current account as of December 31, 2022? To revise the paragraph and make the analysis clearer, what literary terms should be substituted for the underlined words in the paragraph? select two options. allusion characterization imagery irony theme The diagram shows five touching semicircles, each with radius 2. What is the length of the perimeter of the shaded shape? Give your answer in terms of what is the estimated cost of goods sold in july if the company applies the average cost retail inventory method?