Write a program to take intger as input and pass the value to method declared in class. Test Case 1 Input (stdin) 2 5 Expected Output Count:3 Test Case 2 Input (stdin) 4 7 Expected Output Count:3
#include <iostream>
using namespace std;
int main()
{
int a,b,c;
cin>>a>>b;
c=b-a;
cout<<"Count:"<<b-a;
return 0;
}