This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
//This program is used to calculate the slope of the line | |
//C++ | |
using namespace std; | |
int main(){ | |
std::cout << "This is used to find the slope of the line. Please enter two points.\n"; | |
float y1, y2, x1, x2; | |
std::cout << "Enter Y 1"; |