Answer:
<em>#include <iostream></em>
<em>using namespace std;</em>
<em>int main()</em>
<em>{</em>
<em> int myNewAge;</em>
<em> int myCurrentAge = 29;</em>
<em> int currentYear = 2020;</em>
<em> </em>
<em>myNewAge = myCurrentAge+(2050-currentYear);</em>
<em />
<em>cout<<"My Current Age is "<<myCurrentAge<<". I will be "<<myNewAge<<" in 2050"<<endl;</em>
<em> return 0;</em>
<em>}</em>
Explanation:
The program is written in C++ language as required. firstly, we declare the three variables:
<em> </em><em>int myNewAge;</em>
<em> int myCurrentAge = 29;</em>
<em> int currentYear = 2020;</em>
Then we calculate the new age as: <em>myNewAge = myCurrentAge+(2050-currentYear);</em>
Using multiple cout operators (<em> </em><<) we display the output nicely as required by the question with this statement
<em>cout<<"My Current Age is "<<myCurrentAge<<". I will be "<<myNewAge<<" in 2050"<<endl;</em>
Answer:
B
Explanation:
im pretty sure thats the answer
Answer:001101110010010100011011010110010011100100100000001100100100110001000010001101100100010100100000001101100100100001010001010101001101001010
Explanation:
i copied
Answer:
You need to understand all the network typologies and the devices that we use in the Computer networks. You also use the techniques like routing, masking, firewalls, VPN, as well as the network protocol. And recently added is the PKI. And hence you need to make sure that you know all these, and you should also know ipv4 and ipv6. Rest you can consult Tanenbaum for further studies on Computer Network.
Explanation:
Please check the answer.
Answer:
def length( mystring):
count = 0
for i in mystring:
count += 1
return count
def reversed( mystring):
strlist = []
for i in range(length(mystring)):
strlist.append(mystring[(length(mystring) - 1) - i])
txt = "".join(strlist)
return txt
string = 'Yolanda'
print(reversed(string))
Explanation:
The python module defines two functions 'reversed' and 'length'. The length function counts the number of characters in a string variable while the reversed function reverses the string variable value.