Answer: 7 math 8 many
Explanation: it makes sense
#include using namespace std;int main(){int year = 12,value = 10,total = 0;do{year++;value *= 2;total += value;}while(value*2 < 1000);cout << "Age: " << year << endl;cout << "Last gift: " << value << endl;cout << "Total: " << total << endl;cin.get();return 0;
def CountVowels(epsilon):
countNum = 0
for x in range(len(epsilon)):
letter = epsilon[x]
if letter.lower() in "aeiou":
countNum += 1
return countNum
def ExtractOdds(zeta):
result = ""
for x in range(len(zeta)):
if x % 2 == 1:
result += zeta[x]
return result
sentence_A = input("Enter a sentence: ")
sentence_B = input("Enter a sentence: ")
print(CountVowels(sentence_A))
print(ExtractOdds(sentence_B))
I hope this helps!
Leonardo da Vinci was a very famous painter. I would assume that he is an expert in painting.
Hope this helped