help with program please
thanks for anyone who helps but i cannot seem to figure out why the second function does not output the code that i tell it too?
Code:
#include<iostream>
using namespace std;
int main(){
int slopeVal=0;
int slopeVal2=0;
cout<<"Please input the first slope value: ";
cin>>slopeVal>>endl;
cout<<"Please input the second slope value: ";
com>>slopeVal2>>endl;
return 0;
}
int findLine(int slopeVal, int slopeVal2){
if(slopeVal==slopeVal2){
cout<<"The two lines are parallel.";}
else if(slopeVal==(slopeVal2*-1)){
cout<<"The two lines are perpendicular.";}
else{
cout<<"The lines are normal intersected";}
}
