menu
QAmmunity.org
Login
Register
My account
Edit my Profile
Private messages
My favorites
Ask a Question
Questions
Unanswered
Tags
Categories
Ask a Question
7. Develop an algorithm using pseudocode to show whether a given number is even or odd
asked
Jul 4, 2022
211k
views
17
votes
7. Develop an algorithm using pseudocode to show whether a given number is even or odd
Computers and Technology
college
Alexander Graebe
asked
by
Alexander Graebe
7.9k
points
answer
comment
share this
share
0 Comments
Please
log in
or
register
to add a comment.
Please
log in
or
register
to answer this question.
1
Answer
9
votes
Answer:
Calculate the remainder after division by 2
If remainder is 0, number is even, odd otherwise
FreshWoWer
answered
Jul 10, 2022
by
FreshWoWer
8.8k
points
ask related question
comment
share this
0 Comments
Please
log in
or
register
to add a comment.
← Prev Question
Next Question →
Related questions
asked
Jul 17, 2021
52.0k
views
Draw a flow chart and write pseudocode for an iterative algorithm that calculates 1 - 1/2 +1/3 - ... +(or -) 1/n. 1/k is added to the sum if k is odd and subtracted from the sum if k is even. (This sum
Gjorgji
asked
Jul 17, 2021
by
Gjorgji
7.5k
points
Computers and Technology
college
1
answer
5
votes
52.0k
views
asked
Nov 25, 2024
187k
views
Write a pseudocode algorithm that asks a user for a password. They are allowed three attempts to type the correct password, which is “Tues1212”. If they type the correct password, output “Password accepted”,
Nitrogen
asked
Nov 25, 2024
by
Nitrogen
7.9k
points
Computers and Technology
high-school
1
answer
2
votes
187k
views
asked
Aug 11, 2024
128k
views
Write a pseudocode algorithm using a FOR loop to read five lowercase letters and output the largest and smallest. (a is less than b).
Fjott
asked
Aug 11, 2024
by
Fjott
7.8k
points
Computers and Technology
high-school
1
answer
3
votes
128k
views
Ask a Question
Welcome to QAmmunity.org, where you can ask questions and receive answers from other members of our community.
9.5m
questions
12.2m
answers
Other Questions
“What does it mean when we “rework” copyrighted material?”
The book shows how to add and subtract binary and decimal numbers. However, other numbering systems are also very popular when dealing with computers. The octal (base 8) numbering system is one of these.
Please help me ! All you do is just put it it all in your own words ! Please this is for my reported card!i don't know how to put it in my own words because my English is not that good!
describe an advance in technology that makes life more enjoyable. what discoveries contribute to this technology?
Disadvantages of using animation in advertising? advantages and disadvantages of using animation for education? advantages and disadvantages of using animation in entertainment?
Twitter
WhatsApp
Facebook
Reddit
LinkedIn
Email
Link Copied!
Copy
Search QAmmunity.org