Please help me
I want users to enter numbers only
Code:#include <stdio.h>
int main () {
float num;
printf ("Please Enter Number You want Square of: ");
scanf ("%f", &num);
>>>Something here it tells users to enter numbers only if they enter alphabets then it should not work<<<<
printf ("%0.2f squared is equal to %0.2f\n", num, num * num);
return 0;
}