Skip to content

Commit

Permalink
Chapter 3. Exercise 4: Same thing, but double.
Browse files Browse the repository at this point in the history
  • Loading branch information
Grandmother committed Mar 24, 2016
1 parent 703a7c1 commit 656ca0e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions chapter 3/exercise_4.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

int main()
{
int val1 = 0;
int val2 = 0;
double val1 = 0;
double val2 = 0;

std::cout << "Enter two integer values please: ";
std::cout << "Enter two float point values please: ";
std::cin >> val1 >> val2;

if ( val1 < val2 )
Expand Down

0 comments on commit 656ca0e

Please sign in to comment.