Mam problem, zrobiłem funkcje:
#include <iostreame>
using namespace std;
int main()
{
funkcja_dodawania(1,2,3)
}
float funkcja_dodawania(float x,float y,float suma)
{
cout<<"Podaj 1 liczbe: ";
cin>> x;
cout<<"Podaj 2 liczbe: ";
cin>> y;
suma=x+y;
cout<<"Suma wynosi "<<suma;
}
i wyskakuje mi error w 7 linijce: 'funkcja_dodawania' was not declared in this scope
nie mam pojęcia jak to naprawić