It changes a little depending on what programming language you're using, but in C you could say
int times_ten (int num) {
num = num*10;
return num;
}
Or, in general terms:
Integer Function times_ten (Integer num)
Set num = num * 10
Return num
This is all done assuming the number used as an argument is an integer and that you are returning an integer value, not a decimal. The main thing to notice is that since you have to return a value, you must have two things: a return statement, and a type declaration for the function, otherwise you'll get an error.
Hello!
Thanks, for warning us. :) and I will be aware of Fleetstreet186, Plus, I will report his links if I see them!
Have a great day!
#LearnWithBrainly
Answer:
Jace~
Plus, here is the anime image that might make your day happy. . .
So here are four:
1. ALT+D--Select text (while working in the address bar)
2. CTRL+V--Paste copied text
3. ESC--Stop downloading a webpage
4. CTRL+D--Add your current page to favorites
Hope I helped!! :)