Answer:
Written in Python
word = input("Word: ")
if(word[0]=='a' or word[0]=='e' or word[0]=='i' or word[0] =='o' or word[0]=='u'):
print(word+"ay")
else:
a = word[1:]
print(a+word[0]+"ay")
Explanation:
<em>The program was written in Python and I've added the explanation as an attachment; where I used comments as explanations</em>
You can just look up "python ide online" on google and paste this code:
n = -1
count = 0
while n < 0:
n = int(input("We're checking to see if a number is prime or not! Enter a positive number: "))
if n % 2 == 0:
if n == 2:
print("{} is a prime number".format(n))
else:
print("{} is not a prime number".format(n))
else:
for x in range(n, 1, -1):
if n % x == 0:
count += 1
if count > 1 or n == 1:
print("{} is not a prime number".format(n))
else:
print("{} is a prime number".format(n))
I've written some code that checks to see if a number entered by the user is a prime number or not.
Sorry, but I'm not too good with pseudocode plans and all that. I hope this helps.
Answer:
A.
Explanation:
Ebooks are typically only text, which is smal.
However, a Photo can be very small too, so the answer is not definitive.