convert this into #include using namespace std; int main() { int A,B; cout<<"Enter A and B values: "; cin>>A>>B; if (A>B) cout<<"B is smaller than A" <

C++ for Engineers and Scientists
4th Edition
ISBN:9781133187844
Author:Bronson, Gary J.
Publisher:Bronson, Gary J.
Chapter12: Adding Functionality To Your Classes
Section: Chapter Questions
Problem 1PP
icon
Related questions
Question
100%

convert this into <stdio.h>


#include <iostream>
using namespace std;
int main()
{
int A,B;
cout<<"Enter A and B values: ";
cin>>A>>B;
if (A>B)
cout<<"B is smaller than A" <<endl;
else
cout<<"B is greater than A" <<endl;
return 0;
}

Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ for Engineers and Scientists
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr