Try the following example. Ramu was given a game by his friend raj. When raj says a number then raj needs to tell that number. And when Raj says a word or character he has to remain silent. Kindly help Raju and Ramu to solve the task. Refer the sample input and output for example Example Input 1: 34.222 Output 1: The entered number is:34.222 Input 2: 14.124 Output 2: The entered number is:14.124 Test Case 1 Input (stdin) 43.333 Expected Output The entered number is=43.333 Test Case 2 Input (stdin) 56.7886 Expected Output The entered number is=56.7886
#include <iostream>
using namespace std;
int main()
{
float a;
cin>>a;
cout<<"The entered number is="<<a;
return 0;
}