Archived
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 %ld euros to %ld euros”,annualRevenue,increase(annualRevenue));
}
0
Community EvaluationsNo one has reviewed this question yet, be the first!
4
Undefined behavior.7
What is the size of a long long in C++?2
Write a C program to calculate the total number of sweets.2
Write a C function to swap two integers.1
What does the following code refer to: C:\ProgramFiles\QtCreator\text.txt ? 3
Find the sum of all even numbers in an array in C3
Write a C program that calculates the average of two notes.