Hi,
How should I let the short int divide the long int and return the float?
It shows the following errors:Code:#include <stdio.h> void main() { short int __x; long int y; float z; __x = 55h; y = 60L; z = (float)__x / (float)y; printf("Hello world.\nPeter John and Tom.\n"); printf("%h + %l = %.2f.\n", __x,y,z); }
syntax error : 'bad suffix on number'
syntax error : missing ';' before identifier 'h'
'h' : undeclared identifier