#include <iostream> #include<iomanip> using namespace std; int fun2(int ,int ,int ); int main() { int a,b,c; cout<<"enter three numbers"<<endl; cin>>a>>b>>c; cout<<fun2; return 0; } int fun2(int a,int b,int c){ cout<<a-b+c; return 0; }
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter