19 lines
364 B
C
19 lines
364 B
C
//Made by Vlad. Budnitski.
|
|
//AlphaTech - Programming Course.
|
|
|
|
#include <stdio.h>
|
|
|
|
int main()
|
|
{
|
|
float salary;
|
|
int totalHours;
|
|
|
|
printf("Enter your Salary Per Hour: ");
|
|
scanf("%f", &salary);
|
|
|
|
printf("Enter the number of hours you worked in the last month: ");
|
|
scanf("%d", &totalHours);
|
|
|
|
printf("Your expected salary should be: %.2f\n", salary * totalHours);
|
|
}
|