1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
earnstyle [38]
3 years ago
13

How to complete Assignment 4: Evens and Odds in Project STEM

Computers and Technology
1 answer:
Soloha48 [4]3 years ago
6 0

Answer:

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

odd = 0

even = 0

for i in range(1,n+1):

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

if num%2 == 0:

print(str(num)+" is an even number")

even = even + 1

else:

print(str(num)+" is an odd number")

odd = odd + 1

print("You entered "+str(even)+" even number(s).")

print("You entered "+str(odd)+" odd number(s).")

You might be interested in
1.Write the Qbasic program to find sum of any 10 different numbers.
dybincka [34]

Answer:

1.

DIM myArray(10) as INTEGER

LET A = 0

FOR I = 1 TO 10 STEP 2

INPUT “INPUT NUMBER”; myArray(i)

LET A = A + myArray(i)

NEXT  

PRINT A

END

2.

REM PROGRAM FOR CALCULATING THE SIMPLE INTEREST

CLS

INPUT “INPUT THE PRINCIPAL”; P

INPUT “INPUT THE TIME”; T

INPUT “INPUT THE RATE”;R

SI = P* T * R / 100

PRINT “SIMPLE INTEREST =”; SI

END

Explanation:

Please find the respective programs in the answer section.

4 0
3 years ago
20121_GRPS_ELECTIVE_Computer Applications - Office 2016_A_IC
Nastasia [14]
= sign !!! Hope this helps
6 0
4 years ago
Read 2 more answers
When a crash results in property damages of any amount, the driver must notify:
elena55 [62]

Answer:

A. Their Insurance Agency to report the incident and the cost amount for repairing what they damaged.

Explanation:

Well it's considered an accident, so I would assume straight away, you report it to your insurance agency. If it's you that caused the damages to the property, you have a certain tax dollar amount you pay every month for your car insurance, which pays for the damaging of your car, and the damages you caused on someones property with that very vehicle, so A. Their Insurance Agency.

Hope this helped, mate.

7 0
4 years ago
Who was the first person to develop http the language in which servers and browsers communicate
Rudiy27
The answer would be Tim Berners- lee
6 0
3 years ago
Hello can someone help with the output of this please?
Gelneren [198K]

Answer:

its a diamond shape

Explanation:

i did it on desmos please give brainliest please and good luck :)

8 0
2 years ago
Other questions:
  • The order in which statements are executed during a program run. Answer 1 The first part of a compound statement begins with a k
    12·1 answer
  • List several things that geographers can map using remotely sensed data
    5·1 answer
  • Olivia has developed a great presentation with a distinct purpose and excellent content. She delivered it in a workshop and got
    9·1 answer
  • which of the following is not a windows accessory? a. sticky notes b. windows 8 c. sound recorder or d. paint
    8·2 answers
  • For each of the following polynomials, apply either the Muller's method or the Bairstow's method to find all real or complex roo
    15·1 answer
  • The Relation below stores information about weather observations made in the Albany area. You can assume that there are many obs
    5·1 answer
  • What protections do not apply to the content in a wiki?
    5·2 answers
  • Why is it preferable to code web pages in HTML format?
    6·2 answers
  • Which U.S. government agency first funded the development of the Internet?
    12·2 answers
  • How is net pay different from gross pay?
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!