Skip to content

Instantly share code, notes, and snippets.

@Alakhator

Alakhator/c++5.cpp

Created Apr 10, 2020
Embed
What would you like to do?
cout<<"Enter a test x value";
double test;
cin>>test;
double pred=b0+b1*x;
cout<<"The value predicted by the model= "<<pred;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment