Answer:
float inp =0;
cin>>inp;
if(inp > 45.6)
cout<<"Greater than 45.6";
Step-by-step explanation:
the first line will initialize an float for the input you gonna give the program.
second line will get the input from the user.
third line checks if the given input is greater than 45.6 .if so , it will print "greater than 45.6"
also for your future questions , please note which language your program should be in.