Erster Commit
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
//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);
|
||||
}
|
||||
Reference in New Issue
Block a user