I need help! Can't figure out what's wrong!

deleted
Last edited on
Hi

wasn't sure if this is what you wanted but have a look. if not please explain more

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#include <iostream>

using namespace std;

int main()
{
  int a;
  cout <<"enter number"<<endl;
  cin>>a;
  int b;
cout<<"enter second number"<<endl;
cin>>b;


if ( b<a){


        cout<<"here is the lowest number "<< b <<endl;;

    }else {


    if( a<b){

        cout<<"here is the lowest number "<<a<<endl;
    }

    }

}
Topic archived. No new replies allowed.