Which part of a computer takes the text and pictures on your screen and prints them onto paper?

Answers

Answer 1

Answer: Graphic Card

Explanation: The graphic card takes the text and pictures on your screen and prints them onto paper.


Related Questions

a user receives an e-mail warning of a dangerous computer virus and instructing the user to delete files it claims were put there by the virus. however, the files are actually critical system files. which term best describes this scenario?

Answers

You gave an example of a hoax when you said that a user would get an email warning them of a deadly computer virus and be told to destroy important system files.

Which of the following describes the best way to stop a shoulder surfing assault from obtaining information? Users must be conscious of their surroundings and prevent others from occupying a space from where they may see what the user is about to enter.Using this software, known as Master boot record ransomware, an attacker could threaten to publish the victim's data online if they refuse to pay a ransom.You gave an example of a hoax when you said that a user would get an email warning them of a deadly computer virus and be told to destroy important system files. A hoax is a message that is intentionally untrue or misleading in order to fool or deceive the recipient.      

To learn more about Computer virus refer to:

https://brainly.com/question/26128220

#SPJ4

which methods can you use to migrate user settings from windows 8.1 to windows 10? (choose all that apply.)

Answers

Note that the methods can you use to migrate user settings from Windows 8.1 to Windows 10 are:

Use the User State Migration Toolkit. (option A)Perform an upgrade over the top of the old operating system. (Option E). This is called Windows Migration.What is Windows Migration?

Migration programs are available to migrate settings from one Windows PC to another. These tools only transfer program settings and not the applications themselves. See the Application Compatibility Toolkit for additional information on application compatibility (ACT).

Migration Toolkit is a robust command-line utility that provides granular control over the migration process. The Migration Toolkit assists in the migration of database objects and data from an Oracle database to an EDB Postgres Advanced Server or PostgreSQL database.

Note that the Windows Update is a cloud-based service that keeps Microsoft Windows and other Microsoft applications, such as Windows Defender, up to date. Patches and updates often offer feature additions as well as security fixes to safeguard Windows against viruses.

Learn more about Windows MIgration:
https://brainly.com/question/29353983
#SPJ1

Full Question:

Which methods can you use to migrate user settings from a previous operating system to Windows 10? (Choose all that apply.)

Use the User State Migration Toolkit.

Use Remote Desktop to copy to files.

Use Windows Easy Transfer.

Copy the user profile from the old computer to the new computer.

Perform an upgrade over the top of the old operating system.

Write a program that takes in a line of text as input and outputs that line of text in reverse.

Answers

Answer:

Here is one possible implementation of a program that takes a line of text as input and outputs the line in reverse:

# Get input from the user

line = input("Enter a line of text: ")

# Reverse the line of text using the slicing technique

# with a step of -1 to go through the string backwards

reversedLine = line[::-1]

# Print the reversed line of text

print(reversedLine)

Here is an example of how this program might be used:

Enter a line of text: Hello, world!

!dlrow ,olleH

What do you press to stop a program that is running in the Scratch Run window? A. red square B. red hexagon C. red circle D. red stop sign

Answers

A window (screen) that contains all the information required to build and operate a Scratch game or project appears when Scratch is launched on a computer. Areas of the Scratch window are separated. Thus, option A is correct.

What program that is running in the Scratch Run window?

The script starting with the “when green flag clicked” block starts to run when the green flag is clicked. When the script was executed, it first checked to see if the space bar was depressed, and if it was, the sprite moved 10 steps.

Scratch the glass. Flip the text. Computer programming language known as Scratch.

Therefore, The sprite will advance 10 steps if you run the project once again while holding down the space key.

Learn more about Scratch here:

https://brainly.com/question/29213896

#SPJ1

true or false: the ticketing area is more secure than the area beyond the security check point. (antiterrorism scenario training, page 3) true

Answers

False. In an antiterrorism scenario training, the area beyond the security checkpoint is typically considered to be more secure than the ticketing area.

Why is ticketing area not as secure as security checkpoint?

This is because the security checkpoint is designed to prevent unauthorized individuals from entering the secure area, and to detect and prevent any potential threats from entering.

In contrast, the ticketing area is generally open to the public and is not as heavily guarded or monitored as the area beyond the security checkpoint. As a result, the ticketing area is considered to be less secure than the area beyond the security checkpoint.

To Know More About Airport Safety, Check Out

https://brainly.com/question/28295545

#SPJ1

what do I have to do? Do I have to make 4 websites or pick 4 different topics? or do I have to pick one topic for example sports... choose soccer football and so on.

Answers

Answer:

It gave you possible topics, you can choose from them, however you are fully free to choose from any.

In the "Link to Article", You simply put the website link there, Title & A summary

Why would politicians choose to use online videos to effectively convey a message quizlet.

Answers

Answer:

Because today's society is most likely to watch the video then to read a newspaper or letter

I hope this helps :)

a rule that requires that the values in a foreign key must have a matching value in the primary key to which the foreign key corresponds is called:

Answers

A referential integrity restriction is a requirement that the values in an unique identifier must match the values in the main key to which the unique identifier belongs.

Primary and foreign keys: what are they?

To guarantee that the data in a given column is unique, a key value is employed. A relational database table's foreign key refers to a column or set of columns that creates a connection between the data in two tables. That gives a record in a relational database table a special identification.

What characteristics does a foreign key have?

A primitive kind property (or group of primitive kind properties) on one entity type that includes the object key of some other entity type is known as an unique key property inside the Entity Database Schema (EDM). In a relational database, a foreign key column is equivalent to a foreign key property.

To know more about foreign keys visit :

https://brainly.com/question/15177769

#SPJ4

programming terminologies ​

Answers

There are many different terminologies used in the field of programming. Some common ones include:

Algorithm: A set of well-defined instructions used to perform a specific task or solve a problem.

Compiler: A program that translates source code written in a high-level programming language into machine code that can be executed by a computer.

Debugging: The process of finding and fixing errors or bugs in a program.

Syntax: The set of rules governing the structure and form of expressions in a programming language.

Variable: A named storage location in a program that can hold a value.

Function: A named block of code that performs a specific task and can be reused in a program.

Object: A self-contained entity that combines data and functionality, often used in object-oriented programming languages.

Loop: A control flow construct that allows a block of code to be repeated multiple times.

Class: A template or blueprint for creating objects in object-oriented programming languages.

Library: A collection of pre-written code that can be used to add functionality to a program.

These are just a few of the many terms used in programming, and the specific terminology used can vary depending on the programming language and the context in which it is used.

which part of the data packet is the actual data from the file?

Answers

Answer:

The payload is the actual data

Explanation:

packet is divided into three parts; the header, payload, and trailer

refer to the exhibit. from a laptop, which desktop icon is required to allow you to configure a switch using cli commands?

Answers

When we refer to the exhibit. from a laptop, the desktop icon that is required to allow you to configure a switch using cli commands is option  D; no connectivity: switch 2

How does CLI work?

A Command Line Interface, often known as CLI, links a user to an operating system or computer software. Users interact with a system or application through the CLI by inputting text (commands). The command is entered on a specified line after the computer displays a visual prompt.

Therefore, note that user types a command into the Command Line Interface (CLI), a non-graphical, text-based interface to the computer system, and the computer successfully carries it out. The platform or IDE that offers the user a command line interface (CLI) environment is known as the Terminal.

Learn more about cli commands  from

https://brainly.com/question/25480553
#SPJ1

See options bellow

connectivity: PC-B

no connectivity: switch 1

no connectivity: PC-C

connectivity: switch 2

connectivity: PC-D

in cellular technology, the carrier antenna and equipment to which mobile customers connect directly is called a(n) .

Answers

in cellular technology, the carrier antenna and equipment to which mobile customers connect directly is called cell site.

What is cell site equipment?In order to enable the use of wireless communication devices like telephones and radios in the surrounding region, electric communications equipment and antennae are put atop cell towers, sometimes referred to as cell sites.The full complement of hardware required to receive and transmit radio signals for cellular voice and data transmission is referred to as a cell site. This equipment typically consists of transmitters, receivers, power amplifiers, combiners, filters, a digital signal processor, a power supply, and network interface modules.By sending out radio waves, your smartphone connects to one of the accessible cellular towers. These radio waves are released.

To learn more about cellular technology  refer,

https://brainly.com/question/5283991

#SPJ4

(576)8. In to ( )16 ( )8

Answers

Answer:

around ()72381 approx

Explanation:

approximately not accurate

Ethan wants to place a title at the top of a spreadsheet at the middle. He should _____.


A. click in cell Z10, type the title, and center the text inside the cell
B. center the text in cell A1
C. type the title, select the cells running across the top of the spreadsheet, and use
D. the Merge and Center command
E. change the alignment to right

Answers

In the middle of a spreadsheet, Ethan wants to put a title. He needs to enter the title, pick the cells at the top of the spreadsheet that run along the top, and use.

What is spreadsheet is used for?A spreadsheet is a tool used to store, manage, and analyze data. Data in a spreadsheet is arranged in a series of rows and columns and can be searched, sorted, calculated, and used in a variety of charts and graphs.A specific spreadsheet application is required in order to build an electronic spreadsheet. Microsoft Excel is by far the most widely used spreadsheet program, although there are other spreadsheet programs as well. These programs enable users to interact with data in a variety of ways to create budgets, forecasts, inventories, schedules, charts, and graphs, among many more data-based spreadsheets.The spreadsheet's true power lies in its capacity to manage challenging mathematical calculations and automatically recalculate sums as the sheet's underlying data changes. What-if analysis and forecasting benefit greatly from this. With options akin to those we saw in word processing, most spreadsheet applications also let users format their sheets. Spell checking and the option to insert decorative elements like borders and images are just two more features that the program shares with one another.The remaining sections of this lesson will walk you through some of the fundamental ideas and capabilities of spreadsheet programs before giving you links to tutorials that can help you advance your knowledge of Microsoft Excel, the spreadsheet program of choice at Broome Community College.

To Learn more About spreadsheet refer To:

https://brainly.com/question/26919847

#SPJ1

as you configure your client for public key authentication, you decide to generate the dsa key pair. you would like to configure the client to automatically provide the private key passphrase when needed so that you do not need to type the passphrase for every new ssh connection to a server. which command should you use in conjunction with the ssh-agent bash command? (enter the command and options as if you are at the command prompt.)

Answers

The command that you should use in conjunction with the ssh-agent bash command is: ssh-add ~/.ssh/id_dsa

What does SSH-add ~/ ssh Id_rsa do?

SSH's key manager is called ssh-agent. Your keys and certificates are kept there in memory, unencrypted and available for use by ssh. You don't have to type a passphrase each time you connect to a server because of it.

Therefore, the private key password is requested from the user and added to the list kept by ssh-agent using the ssh-add command. When using SSH or scp to access to hosts with your public key, you won't be prompted for your password once you've added it to ssh-agent.

Learn more about ssh-agent from

https://brainly.com/question/29658823
#SPJ1

How do online pharmacies challenge the traditional business model of pharmacies and drug firms

Answers

Online pharmacies challenge the traditional business model of pharmacies and drug firms to a larger extent in this modern world of science and technology.

What is the drawback of using an online pharmacy?

The drawback of using an online pharmacy is that there is no one you can contact face to face. When patients want to ask questions about the drugs they are taking, it is very difficult for them to reach a licensed pharmacist. For this reason, it may not be possible for patients to access their medication on the same day.

In this era of technology, people want to take their prescriptions along with the delivery of medicines online. This is because they are busier in their lives and do not have time to arrange an appointment with doctors very frequently.

Apart from this, the preparation of drugs also has certain kinds of technology that easy and efficient it's production.

To learn more about Online pharmacies, refer to the link:

https://brainly.com/question/28569528?source=archive

#SPJ1

what type of detector can be installed in elevator lobbies that interface with elevator control systems to establish recall priorities during fire emergencies?

Answers

A type of detector which can be installed in elevator lobbies that interface with elevator control systems to establish recall priorities during fire emergencies is: C. Smoke.

What is a smoke detector?

A smoke detector simply refers to a mechanical and electrical device that is designed and developed to detect the presence of smoke in a particular place, while alerting residents through an alarm system.

Generally speaking, a smoke detector is best used in small confined places such as a kitchen. Additionally, a smoke detector should be installed in elevator lobbies as a safety precaution in order to mitigate fire emergencies and other smoke-related hazards.

Read more on smoke detector here: https://brainly.com/question/29376187

#SPJ1

Complete Question:

What type of detector can be installed in elevator lobbies that interface with elevator control systems to establish recall priorities during fire emergencies?

Flame

Heat

Smoke

Beam

Which type of programming language translates the entire code before running any of the instructions/steps?.

Answers

A compiler translates code in a high-level language all at once and then runs it.

if there are multiple functional dependencies (fds) for the relation, then we have multiple choices for the order in which we apply the fds in the bcnf normalization procedure. question: would those different orders (of applying fds) lead to different sets of new relations?

Answers

If there are multiple functional dependencies (fds) for the relation, then we have multiple choices for the order in which we apply the fds in the bcnf normalization procedure. Would those different orders (of applying fds) lead to different sets of new relations , yes.

What is normalization ?In a big database with just one relation, data duplication could happen. Repetition of the data may result in: Significantly expanding associations. Data maintenance and updating are challenging due to the need to look through several connected entries. Resources are wasted, and disc space is used inefficiently. Inconsistencies and errors are more likely to happen. The best way to overcome these challenges is to break down relations with redundant data into smaller, simpler, and well-structured relations that satisfy desirable qualities. The process of normalization involves breaking down the relationships into relationships with less traits. The main argument for normalizing the connections is to get rid of these irregularities

To learn more about normalization refer to:

https://brainly.com/question/28170867

#SPJ4

when using a(n) join, only rows from the tables that match on a common value are returned. a. full b. outer c. inner d. set. multiple choice answer

Answers

The rows as from tables that correspond on a shared value are returned when utilizing an inner join.

What is the name of a computer table?

A computer table, often known as an array in video processing, is a logical collection of fields. Tables may include data that is updated often or instantly. For instance, as sectors are written, a table saved within such a disk sector is updated. A table's primary purpose is to organize data.

What purposes do tables serve?

Data that is far too complex or extensive to be fully conveyed in the text is organized in tables so that the reader may easily see the outcomes. Icons are able to draw attention to the news or patterns among the data or to improve the readability of a publication by excluding text-based numerical information.

To know more about Tables visit :

https://brainly.com/question/22736943

#SPJ4

Please help with coding from a beginner's computer sci. class (Language=Java)

Assignment details=

1. Write code for one round.
a. Get the user’s selection using a Scanner reading from the keyboard.
Let's play RPSLR!

1. Rock
2. Paper
3. Scissors
4. Lizard
5. Spock
What is your selection? 4

b. Get the computer’s selection by generating a random number.
c. Compare the user’s selection to the computer’s selection.
d. For each comparison, print the outcome of the round.
You chose Lizard.
The Computer chose Spock.
Lizard poisons Spock.
The User has won.

2. Modify your code by adding a loop.
a. Add a loop to your code to repeat each round.
b. Ask if the player wants to play again. If the player doesn’t want to play again, break out
of the loop.
Do you want to play again? (Y or N) Y
3. Add summary statistics.
a. Add variables to count rounds, wins, losses, and draws and increment them
appropriately.
b. After the loop, print the summary information.
______SUMMARY_______
Rounds: 13
Wins: 5 38.5%
Loses: 7 53.8%
Draws: 1 7.7%

Answers

Answer: Here is some sample code that demonstrates how to complete the assignment using Java:

import java.util.Random;

import java.util.Scanner;

public class RPSLR {

   public static void main(String[] args) {

       // Initialize scanner for reading user input

       Scanner scanner = new Scanner(System.in);

       // Initialize random number generator for computer's selection

       Random random = new Random();

       // Initialize counters for rounds, wins, losses, and draws

       int rounds = 0;

       int wins = 0;

       int losses = 0;

       int draws = 0;

       // Main game loop

       while (true) {

           // Get user's selection

           System.out.println("Let's play RPSLR!");

           System.out.println("1. Rock");

           System.out.println("2. Paper");

           System.out.println("3. Scissors");

           System.out.println("4. Lizard");

           System.out.println("5. Spock");

           System.out.print("What is your selection? ");

           int userSelection = scanner.nextInt();

           // Get computer's selection

           int computerSelection = random.nextInt(5) + 1;

           // Compare selections and determine outcome

           String outcome;

           if (userSelection == computerSelection) {

               outcome = "draw";

               draws++;

           } else if ((userSelection == 1 && computerSelection == 3) ||

                      (userSelection == 1 && computerSelection == 4) ||

                      (userSelection == 2 && computerSelection == 1) ||

                      (userSelection == 2 && computerSelection == 5) ||

                      (userSelection == 3 && computerSelection == 2) ||

                      (userSelection == 3 && computerSelection == 4) ||

                      (userSelection == 4 && computerSelection == 2) ||

                      (userSelection == 4 && computerSelection == 5) ||

                      (userSelection == 5 && computerSelection == 1) ||

                      (userSelection == 5 && computerSelection == 3)) {

               outcome = "win";

               wins++;

           } else {

               outcome = "lose";

               losses++;

           }

           // Print outcome of round

           String userSelectionString;

           String computerSelectionString;

           if (userSelection == 1) {

               userSelectionString = "Rock";

           } else if (userSelection == 2) {

               userSelectionString = "Paper";

           } else if (userSelection == 3) {

               userSelectionString = "Scissors";

           } else if (userSelection == 4) {

               userSelectionString = "Lizard";

           } else {

               userSelectionString = "Spock";

           }

           if (computerSelection == 1) {

               computerSelectionString = "Rock";

           } else if (computerSelection == 2) {

               computerSelectionString = "Paper";

           } else if (computerSelection == 3) {

               computerSelectionString = "Scissors";

           } else if (computerSelection == 4) {

               computerSelectionString = "Lizard";

           } else {

               computerSelectionString = "Spock";

           }

Develop a program that allow to determine through a function the alary to be paid for a aleperon baed on 15% of the ale made. The ale made are undetermined or may vary. - indicate through comment in programming which variable identifier are local, - demontrate the ue of the concept of a global variable, ue a variable identifier called alary to repreent the concept of a global variable. Which are global and the

Answers

Here is an example of a program that allows you to determine the salary to be paid to a salesperson based on 15% of the sales made. This program uses the concept of global and local variables, as well as comments to indicate which variables are local.

// Global variable to hold the salary

double salary;

// Function to calculate the salary based on the sales made

double calculateSalary(double sales)

{

   // Local variable to hold the percentage of the sales

   double percentage = 0.15;

   

   // Calculate the salary based on the percentage of the sales

   double salary = sales * percentage;

   

   // Return the calculated salary

   return salary;

}

int main()

{

   // Input the sales made by the salesperson

   double sales = 0;

   cin >> sales;

   

   // Calculate the salary using the calculateSalary function

   salary = calculateSalary(sales);

   

   // Output the calculated salary

   cout << "The salary is: " << salary << endl;

   

   return 0;

}

In this program, the calculateSalary function takes in the sales made by the salesperson as an input and returns the salary to be paid based on 15% of the sales. The calculateSalary function has a local variable called percentage that holds the percentage of the sales to be used to calculate the salary.

The main function is used to input the sales made by the salesperson and call the calculateSalary function to calculate the salary. The salary variable used in the main function is the same global salary variable defined at the beginning of the program, which is used to store the calculated salary.

The comments in the program indicate which variables are local (e.g. percentage) and which are global (e.g. salary). This can help to clarify the scope and purpose of each variable used in the program.

write a functional requirement that you might expect to find in a software requirements specification for this program.write a functional requirement that you might expect to find in a software requirements specification for this program.

Answers

A function header should provide the name of the function as well as the identifier names of each parameter, their data types, and the return value's data type.

What does a function's parameter mean?

A function can perform operations without knowing the exact input values in advance by using parameters. In order to divide their code into logical chunks, programmers use parameters, which are required components of functions.

The output of a function is referred to as its return value, and the return type denotes the return value's data type. A function's declaration and definition must always include a return type, regardless of whether it returns a value or not. The name of the identifier aids in precisely

Therefore, it is crucial to determine whether a datatype and return value have an identifier before providing a header.

Learn about functions in programming from the link:

https://brainly.com/question/29760009

#SPJ4

nonvolatile in the context of a data warehouse means _____.
a. the data can only be changed if it is also modified in the system where it was originally calculated
b. the data can't be changed while reports are running
c. the data cannot be changed or updated by users of the data warehouse
d. the data mart must be used when modifying information

Answers

Answer:

c. the data cannot be changed or updated by users of the data warehouse

how do you code a spawn manger?

Answers

To avoid having to manually set up our enemies in the Scene, we can create a Spawn Manager that will spawn them for us.

What is spawn manger?In this piece, I'll describe how I used a potent technique called coroutines to add a simple spawn manager to the space shooter project. We keep the hierarchy overview clear and stop clustering by adding the generating foes to a new parent. In order to stop the Spawn Manager from producing opponents if the Player is dead, we'll also learn how to construct a reference to the Player Script.

The Spawn Manager Script

Rather than having to manually set up our enemies in the Scene, we can spawn them automatically by creating a spawn manager.A new empty GameObject called "SpawnManager" should be created first, to which a new script for the Spawn Manager should be attached.Let's now put the enemy prefab that we want to spawn in a private GameObject variable. We make a private GameObject with the name enemyPrefab so that it can be referenced in the new SpawnManager Script.

To Learn more About Spawn Manager refer To:

https://brainly.com/question/6500846

#SPJ1

Challenge 13 - Create a program to ak the uer their age and if it i between 4 and 16 it hould output
"You are in chool", otherwie output "You are not of chool age"

Answers

Answer:

age = int(input("Enter your age: "))

if age >= 4 and age <= 16:

   print("You are in school")

else:

   print("You are not in school age")

Explanation:

since you didnt mention the program you’re using, im going to answer it using python. if there's anything to amend let me know!

What aspect of today’s business environment is central to the need for robust transaction management processing systems?

Answers

The aspect of today’s business environment that is central to the need for robust transaction management processing systems is option C - need to handle financial calculations to monitor performance.

What does financial oversight entail?

The delay between capital expenditure and the receiving of goods and services is shortened by e-commerce. Every day, more businesses are using the internet to sell their products and services. E-commerce is having a favorable impact on business marketing.

Therefore, the use of Balance sheets, income statements, and cash flow statements are financial statements that are used to assess overall financial performance. Hence, Financial performance indicators are quantitative measurements used to assess an organization's performance and thus widening one's business reach demands more robust system.

Learn more about business environment from

https://brainly.com/question/26589766
#SPJ1

What aspect of today's business environment is central to the need for robust transaction management processing systems? desire to track the stages of project fulfillment need to handle financial calculations to monitor performance proliferation of e-commerce-based organizations need to replace manual drafting and design

rather than retrieving or manipulating the data directly, applications send instruction to the dbms and the dbms carries out those instructions and sends the results back to the application. question 51 options: true false

Answers

Applications can submit instructions to the DBMS, and the DBMS executes those instructions, rather than directly accessing or altering the data.

What is Structured Query Language?

The exceptionally comprehensive set of questions is intended to strengthen and advance students' comprehension of the ideas. database manipulation and processing. Data manipulation language is used to process or manipulate the database's data. A standard programming language known as "structured query language" is used to extract, organise, manage, and manipulate data held in relational databases. A computer language called Structured Query Language is used to interact with and communicate with databases. To retrieve data from a database, use the data manipulation command databases.

To learn more about Data manipulation from given link

brainly.com/question/18298234

#SPJ4

the act of attempting to acquire information such as user names, passwords, and credit card details by acting as a trustworthy entity in an electronic communication is called

Answers

The act of attempting to acquire information such as user names, passwords, and credit card details by acting as a trustworthy entity in an electronic communication is called phishing.

What are the types of social engineering attacks?

Generally speaking, cyber attacks often require long periods of planning and intelligence gathering to lay the groundwork. Also, some examples of social engineering attacks include the following:

VishingBaitingTailgatingWater-holingSpear phishingPretextingPhishingQuid pro quo

What is phishing?

In Computer technology, phishing can be defined as a type of cyber attack (social engineering) which involves making an attempt to obtain sensitive user information such as a password, especially by disguising as a trustworthy entity in an electronic communication (email), and usually over the Internet.

In conclusion, a training on phishing attacks is a topic that would benefit many employees and end users.

Read more on phishing here: brainly.com/question/23850673

#SPJ1

Assignment 4 divisible by three
I need a little help. I do not understand what I am doing wrong. I keep getting this message in the picture included.

n = int(input("How many numbers do you need to check? "))

divisible = 0

notdivisible = 0

for x in range(n):

num = int(input("Enter number: "))

if num % 3== 0:

divisible += 1

print(str(num)+" is divisible by 3.")

else:
num % 3== 0

notdivisible += 1

print(str(num)+" is not divisible by 3.")

print("You entered "+str(divisible )+" number(s) that are divisible by 3.")

print("You entered "+str(notdivisible )+" number(s) that are not divisible by 3.")



n = int(input("How many numbers do you need to check? "))

divisible = 0

notdivisible = 0

for x in range(n):

num = int(input("Enter number: "))

if num % 3== 0:

divisible += 1

print(str(num)+" is divisible by 3.")

else:
num % 3== 0

notdivisible += 1

print(str(num)+" is not divisible by 3.")

print("You entered "+str(divisible )+" number(s) that are divisible by 3.")

print("You entered "+str(notdivisible )+" number(s) that are not divisible by 3.")

Answers

Answer:

I'm not sure if this is the problem, but you do else: num % 3 == 0. I don't think this should be here. In the else case, it is not divisible by 3, so you only need to add 1 to the notdivisible variable.

Explanation:

The issue is with the line num % 3 == 0 in the else statement. This is a comparison expression that evaluates to either True or False and does not change the value of notdivisible.

What is programming?

Computer programming is the process of carrying out a specific computation, typically by designing and constructing an executable computer programme.

Here's the corrected code:

n = int(input("How many numbers do you need to check? "))

divisible = 0

notdivisible = 0

for x in range(n):

   num = int(input("Enter number: "))

   if num % 3 == 0:

       divisible += 1

       print(str(num) + " is divisible by 3.")

   else:

       notdivisible += 1

       print(str(num) + " is not divisible by 3.")

print("You entered " + str(divisible) + " number(s) that are divisible by 3.")

print("You entered " + str(notdivisible) + " number(s) that are not divisible by 3.")

Thus, this code should correctly count the numbers that are divisible and not divisible by 3.

For more details regarding programming, visit:

https://brainly.com/question/11023419

#SPJ2

Other Questions
Problem 15:Lava has an area of 0.80 m, and emissivity of 1.0, and a temperature of 1450 K. Thetemperature of the surroundings is 300 K. What is the rate of heat transfer, from the lava to thesurroundings, due to radiation?a. 1.0 x 105 Wc. 3.0 x 105 Wd. 4.0 x 105 Wb. 2.0 x 105 W Which factors contribute to compromised physiologic functioning in premature newborns?. Lets say you are viewing a confidence interval plot and you notice a horizontal line placed at each end of the line (ex. similar to this image T). What does this horizontal line signify?Select an answer:These horizontal lines allow Minitab to properly place the dot.These horizontal lines are used to decorate the plots.These horizontal lines indicate the limits at the end of the intervals.These horizontal lines are placed to help you visually locate the dot. what would happen if you used equal masses of all the compounds? for example, 2.00 g as opposed to equal moles of each compound? Describe at least one factor which has impacted the evolution of american education. Make sure to analyze how this factor has impacted the evolution of american education. What did the flood cycle determine for farmers How did the Spanish choose a location for the missions? A. They built missions in the desert to reach more people.B. They built missions on the coast for easy access to the sea.C. They built missions in the rainforest for better resources.D. They built missions in the valleys for more protection. A thermodynamic process occurs in which a system changes by -8 J/K. According to the second law of thermodynamics, what can you conclude about the entropy change of the environment? (a) it must be -8J/K or less (b) it must be equal to -8 J/K (c) it must be between -8J/K and zero (d) it must be zero (e) it must be between zero and +8J/K (f) it must be equal to +8J/K (g) it must be +8 J/K or more (h) we need to know the nature of the process to reach a conclusion (i) it is impossible for the system to have a negative entropy change. Numere del 1 al 12 y escriba solo el verbo en el tiempo pasado correctoveces What is the name for a mineral with a shiny luster?an igneous rocka gemstonea compoundan ore 1. The quotient of and three increased by 10 is 16) What is.x? Select the statement(s) that accurately describe the importance of the ozone layer and how it protects life on Earth.The ozone layer is made of ozone molecules.The molecules of the ozone layer are capable of creating radiation.The ozone layer is found inside of the stratosphere.Ozone is in the closest layer of the atmosphere to Earth.Ozone blocks most of the ultraviolet radiation from the sun. what is the other name for capitalism Write an algebraic expreion that marhall can ue to determine the total cot of buying a watermelon that weigh w pound and ome tomatoe that weigh t pound. How much will it cot to buy a watermelon that weigh 18 1/2 and 5 pound of tomatoe a card is drawn from a deck of 52 playing cards. what is the probability that it is a king and a black card? publix food market contractually agrees with fedex for the delivery of a few boxes of fresh fish. in a later court case between the aforementioned parties over deliveries, the doctrine of quasi-contract is unavailable because? a) there is an actual contract covering the subject in dispute; b) at least one of the parties had greater bargaining power. c) both oftha nartios involvad aro musinessas.d) a the sub ect of the contract was a service A ingle replacement reaction i run in the lab between 45. 0g hydrofluoric acid,HF, and 125. 0g tin forming tin(ll) fluoride and another product A Question 7 (2 points) Retake questionLet f(x)= x + 3The graph of f(x) is transformed into the graph of g(x) by a translation of 4 units left.What is the equation for g(x)?g(x) = |x-1g(x)= |x-41 +3g(x) = |x| +7g(x)= x + 4 + 3 what is the period of the function h(x) = 5sin(4x-2) -3 According to the philosophical behaviorists, if something behaves like a normal human under a wide variety of conditions, then wemay tentatively assume it has mental states, though we cannot be sure.can know it has mental states.can perform behavioral analysis on such behavior and then determine whether it has mental states.All of the above