n = int(input("How many numbers do you need to check? "))
even = 0
odd = 0
for x in range(n):
num = int(input("Enter number: "))
if num % 2 == 0:
print(str(num) + " is an even number.")
even += 1
else:
print(str(num) + " is an odd number.")
odd += 1
print("You entered "+str(even)+" even number(s).")
print("You entered "+str(odd)+" odd number(s).")
This works for me. Best of luck.
The program checks if user supplied integers are even or odd and displays the appropriate value. The program is written thus in python 3 ;
n_check = int(input("How many numbers do you need to check? "))
#number of values user wishes to test
even_count = 0
odd_counts = 0
for n in range(n_check):
num = int(input("Enter number: "))
if num % 2 == 0:
#even numbers leave no remainder when divided by 2
print(str(num) + " is an even number.")
even_counts+= 1
#increase count of even numbers
else:
print(str(num) + " is an odd number.")
odd_counts += 1
print("You entered "+str(even_counts)+" even number(s).")
print("You entered "+str(odd_counts)+" odd number(s).")
#display the number of even and odd numbers entered.
Learn more : https://brainly.com/question/24171161
Jon wants to set up a trihomed DMZ. Which is the best method to do so? A. use dual firewalls B. use a single firewall with only two interfaces C. use a single three-legged firewall with three interfaces D. use dual firewalls with three interfaces
Answer:
The correct option is C) Use a single three-legged firewall with three interfaces
Explanation:
DMZ is an acronym for a demilitarized zone.
A DMZ network is one is situated between the internal network and the Internet. It is supported by an Internet Security and Acceleration (ISA) server.
The interfaces you'd get with the DMZ network are
A public network (Internet Protocol-IP) address with a public interfaceAn internal network interface with a private network (IP) address A DMZ interface with a public network (IP) addressUnlike the back-to-back DMZ settings, a trihomed DMZ is unable to use private IP addresses. To use the trihomed DMZ, public IP addresses are a must suitable requirement.
Cheers!
The Quick Access tool bar allows you to customize the actions or commands you frequently use.
True
False
Seneca has just applied conditional formatting and realizes that she has made a mistake. Which action should she take to fix the mistake?
A) Clear the rule she created by going to the Conditional Formatting Rules Manager dialog box and deleting the rule.
B) Clear all rules that have been applied to the worksheet or selected range by clicking the Clear Rules button.
C) Use the Undo button or Ctrl+Z.
D) Right-click the area where the conditional formatting rule has been applied, and select Clear Rule from the menu list.
Answer:
its b
Explanation:
on edg
Answer:
b
Explanation:
Need answer Asap!!!! Which file type is the best choice if the image will be made into a billboard?
Answer:
A .psd file
Explanation:
Adobe photoshop files are always going to be same and there is no compression. Even better .ai files are saved into equations so you can't alter or dumb it down.
If you're driving a car and know there's a motorcyclist around you, you should______. A. Not change your driving B. Check your blind spots frequently C. Remind them to wear a helmet D. Make wider turns than normal
b check your blind spots frequently i guess not sure
While an image is still being editing, it is best to save it as a PDF. Group of answer choices True False
Answer:
f
Explanation:
"prevention is better than cure" Justify this statment.
Answer:
Hope
you like it and helpful
CSS is a language that controls the way content on a web site appears. It uses_______ _____to
change the look of a page.
Answer:
I'm not sure what the answers are, but when someone is making a website from scratch, they tend to use CSS HTML and JS(javascript)
hope i helped ;)
What are the characteristics of calendar sharing options in Outlook 2016? Check all that apply.
Answer:
a,b,c,e
Explanation:
Answer:
Quit your bickering in the replies on the other answer, this is correct.
Explanation:
Any application that wants to be displayed on the web must use the HTTP protocol
True
False
Answer:
true
Explanation:
50 PTS
in Java
Write a program with a method called passwordCheck to return if the string is a valid password. The method should have the signature shown in the starter code.
The password must be at least 8 characters long and may only consist of letters and digits. To pass the autograder, you will need to print the boolean return value from the passwordCheck method.
Hint: Consider creating a String that contains all the letters in the alphabet and a String that contains all digits. If the password has a character that isn’t in one of those Strings, then it’s an illegitimate password!
import java.util.Scanner;
public class JavaApplication46 {
public static boolean passwordCheck(String pass){
String alphanum = "abcdefghijklmnopqrstuvwxyz1234567890";
boolean legit = true;
if (pass.length()>= 8){
for(int i = 0; i < pass.length(); i++){
if (alphanum.indexOf(pass.charAt(i)) != -1 && legit != false){
legit = true;
}
else{
legit = false;
}
}
}
else{
legit = false;
}
return legit;
}
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
System.out.print("Enter a password: ");
String password = scan.next();
System.out.println(passwordCheck(password));
}
}
I hope this helps!
Who you think is better? Ninja or TFue ,btw do you know who icebear is?
Answer:
no, no i dont think i will.
Explanation:
Which kind of a person will you be if you prove to be accountable for your actions?
Answer: You would be a person of integrity.
Explanation: Look up Integrity for details.
Which component in a CPU is responsible for transferring
data from one functional component to another?
Stay at least _____ behind the vehicle ahead of you at all times.
A. 3 seconds
B. 4 seconds
C. 3 car lengths
D. 4 car lengths
Answer:
B 4 seconds
Explanation:
You should stay 4 seconds away from a vehicle at all times at the same speed as the other vehicle or vehicles.
Select the correct answer from the drop-down menu.
Chrissie shirks the additional work given to her.
She lacks the trait of
Answer:
Responsibility
Explanation:
ABC IF U HAVE A LEGENDARY PET ON ADOPT ME OR ANYTHING COOL!! <3
Answer:
ABC PLEASE
Explanation:
Answer:
ABC i have mega owl and neon cow and mega frost <3
Which of the following expressions shows the correct amount of sales tax for the computer at Store A? Select all that apply.
6%($1,200)
0.6($1,200)
0.06($1,200)
One-sixth($1,200)
StartFraction 3 over 50 EndFraction($1,200)
Answer:
6%($1,200) 0.06($1,200) 3/50($1,200)
Explanation:
hope this helps sorry if i am wrong
have a nice day
Answer:
a,c,e
Explanation:
it just makes sense U^U
Identify an advantage of writing HTML code manually.
You do not have to learn HTML.
You can figure out how the markup affects the function of the site.
You can see rendered HTML as you go.
Answer:
1. You retain 100% control over your site and where it is hosted
2. Free WYSIWYG sites aren’t really free
3. You make yourself seem irrelevant to clients
4. You understand your own code
5. Your own code is nearly always more efficient
6. Your own code is more secure
7. It’s easier to iterate your own code
8. Your own code is original
9. Writing your own code helps you grow as a developer
Explanation:
You can choose the points you want. let me know if you need any further information.☺️
Please rate if you happy
Brailliest if you want
Answer:
B. You can figure out how the markup affects the function of the site.
Explanation:
its the correct answer :)
¿En cuales situaciones concretas se puede aplicar las técnicas de conteo(particularmente las permutuaciones y las combinaciones) dentro de la informática?
Answer:
In which specific situations can counting techniques (particularly permutuations and combinations) be applied within computer science? for anybody trying to help
In a science study group, Leonardo explains how atoms make up molecules. Talia repeats what Leonardo says in her own words. How is Talia practicing active listening? She is reflecting on what has been said. She is politely disagreeing with Leonardo. She is asking Leonardo a lot of questions. She is focused on only important information.
Answer:
A she is reflecting on what leonardo said but in her own words
Explanation:
Answer:
A: She is reflecting on what has been said.
Explanation:
Edge 2020
I need help pleaseeee
Answer:
The Answer is C. Hope you get it right, Good Luck!!!
Answer:
The answer is B
Explanation:
To create a list, paragraph, or unordered list, you should use HTML code, whereas in CSS coding, you can change the overall font size of a tag using the font-size=(number) tag.
how to take a pic with a cumputer
Answer:
Ctrl+Shift+4
Explanation:
Answer:
Use Snip+Sketch on your taskbar
It looks like this~
Which of the following is true of functions? * 2 points A. Programs written with functions run more quickly B. Functions can help remove repeated code from a program C. Replacing repeated code with a function will reduce the number of commands the computer needs to run D. Functions are called once but can be declared many times
Answer:
I’m sure if I remember that this is “B.”
Explanation:
I have taken computer science class before so I remembered!
The option that is true of functions is B. Functions can help remove repeated code from a program.
It should be noted that the fact that programs are written with functions doesn't mean that they will run quickly.
Functions can help remove repeated code from a program. Also, replacing repeated code with a function doesn't reduce the number of commands the computer needs to run.
Read related link on:
https://brainly.com/question/17691320
HELP!!!!!
Your colleague has made a suggested change to an important document you are both working on. You disagree with their suggested change. They will be reviewing the changes you make before the final version of the document is submitted to your boss. You both work remotely and are in radically different time zones. What is the best step to take next?
Justify the use of an e-diary in the organisation of the meeting.
Answer:
It can be used to easily organize stuff
Explanation: It can be easily used to organize meetings & write important stuff, and you will also never run out of pages, which is better than having no diary.
A collection of computers, printers, routers, switches, and other devices
that can communicate with each other over some transmission medium
O network
O host part
subnet part
subnet
ermano envia foto de lo que necesitas yo te ayudo
Select all the lines that have a slope of 5/2
Answer:
Add a picture, then ask the question again.
can anyone answer this
Answer:
I dont see the question
Explanation:
Which term means an unsecure protocol used when remotely accessing a computer?
Transmission Control Protocol (TCP)
Secure Shell (SSH)
Telnet
Internet Protocol (IP)
Answer:
9Internet Protocol (IP)
Answer:
The answer is Secure Shell (SSH)