2.3 Write a program to prompt the user for hours and rate per hour using input to compute gross pay. Use 35 hours and a rate of 2.75 per hour to test
![c - Getting multiple float input using scanf but the input is allocated only to 1st variable - Stack Overflow c - Getting multiple float input using scanf but the input is allocated only to 1st variable - Stack Overflow](https://i.stack.imgur.com/ARsaZ.jpg)
c - Getting multiple float input using scanf but the input is allocated only to 1st variable - Stack Overflow
![i hope someone can answer this. how did the code use float regular as float price without defining it. In line 8 we defined input as regular but in the float function i hope someone can answer this. how did the code use float regular as float price without defining it. In line 8 we defined input as regular but in the float function](https://preview.redd.it/9723zim7n8x81.png?width=640&crop=smart&auto=webp&s=a0132c818422f817c58a5dc3bd163e31899feaf2)