Skip to content

Instantly share code, notes, and snippets.

@HectorTorres
Created January 11, 2023 19:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save HectorTorres/34d0f4cebff9fbafe0234045ad93dfc0 to your computer and use it in GitHub Desktop.
Save HectorTorres/34d0f4cebff9fbafe0234045ad93dfc0 to your computer and use it in GitHub Desktop.
#include <iostream>
using namespace std;
int main() {
double n1, n2, n3;
cout << "Enter three numbers, enter or space between numbers: ";
cin >> n1 >> n2 >> n3;
cout << "\nFirst number is: " << n1 ;
cout << "\nSecond number is: " << n2;
cout << "\nThird number is: " << n3;
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment