Simple program I do not figure out what did I do wrong, probably it's just a syntax related problem.
The goal of my programm is to make a function which returns a value + 5 but the value will be unknown so I tried using templates. This is what I tried to do:
#include<iostream>
template <class value>
auto addition(value number);
int main(){
    auto number1=76;
    auto result=addition(number1);
    std::cout<<"The result is "<<result;
}
template <class value>
auto addition(value number){
    
    return number+5;
}
I hope you can help me make this simple programm work, and if possible give me some information about the usage of auto and templates.
Thanks in advance.
