/* This program computes the weekly
pay given hourly rate, and number of
hours worked 			    */

#include<stdio.h>

main()
{
float Hours,Rate,Pay;

printf("How many hours worked?\n");
scanf("%f",&Hours);

printf("What is the rate?\n");
scanf("%f",&Rate);

Pay = Hours*Rate;

printf("Your Pay is %6.2f\n",Pay);

return 0;
}
