Enter the number and name from the keyboard. Display the following string:
<name> will take over the world in <number> years. Mwa-ha-ha!
Here's an example:
Kevin will take over the world in 8 years. Mwa-ha-ha!
The order in which the data is input matters a lot.
................
solution is worked for define age first and name next...but in output name appearing first why like this..can anyone explain..?
query on order of data input
Under discussion
Comments (2)
- Popular
- New
- Old
You must be signed in to leave a comment
Khurram
30 October 2018, 11:35
because in the output statement, name is displayed first:
<name> will take over the world in <number> years. Mwa-ha-ha!
0
Ravi Kumar
30 October 2018, 14:51
it is mentioned in the question..i am asking why it is...???
0