Medium
What parameter is used in the main?
double annualSalary(double monthlySalary);
double increase(double annualSalary);
void prime(double monthlySalary); 
    
    int main() 
    {
        prime(1298.75);
        return 0;
    }
    
    double annualSalary( double monthlySalary) {
        return monthlySalary *= 12;
    }
    double increase(double annualSalary){
        return 1.1*annualSalary;
    }
    void prime(double monthlySalary){
        double annualRevenue = annualSalary(monthlySalary);
        printf("your salary increases from %f euros to %f euros",annualRevenue,increase(annualRevenue));
    }
Edit
0
Community EvaluationsNo one has reviewed this question yet, be the first!
2
Write a C program to calculate the total number of sweets.1
What does the following code refer to:  C:\ProgramFiles\QtCreator\text.txt ? 3
Write a C program that calculates the average of two notes.2
Write a C function to swap two integers.4
Find the sum of all even numbers in an array in C5
Undefined behavior.8
What is the size of a long long in C++?