#include<iostream> using namespace std; //listing all function here before main
ID: 3615000 • Letter: #
Question
#include<iostream>using namespace std;
//listing all function here before main
void name()
{cout<<"My name is Roy ";}
void invlaid()
{cout<<"Data is Invalid please try again";}
void sides(int&s1,int&s2,int&s3)
{cout<<"Please enter a value for for the first side ";
cin>>s1;
cout<<"Please enter a value for the second side ";
cin>>s2;
cout<<"Please enter a value for the third side ";
cin>>s3;}
int main()
{name();
sides(s1,s2,s3)
If (s1||s2||s3<0)
{invalid();}
system("pause");
return 0;}
K so I have started working on my function project and now have abug I cant not find, any reason why this is not working would behuge help ty guys.
Explanation / Answer
please rate - thanks good start I think I highlighted all the changes in red #include using namespace std; //listing all function here before main void name() {coutRelated Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.