how to write a pseudo-code for telling someone how old they will be in 15 years to come

Recommended Answers

Get Age
Output Age+15

Jump to Post

All 2 Replies

Get Age
Output Age+15

Member Avatar

Initialize currentage
Initialize additionalage
Intialize result;
Set currentage to 0
Set additionalage to 15
print "Please Enter Your Age"
get currentage
result = currentage + additionalage
print "result"

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.21 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.