Looking for reliable answers? Westonci.ca is the ultimate Q&A platform where experts share their knowledge on various topics. Connect with professionals ready to provide precise answers to your questions on our comprehensive Q&A platform. Discover detailed answers to your questions from a wide network of experts on our comprehensive Q&A platform.
Sagot :
#include <stdio.h>
int main()
{
double loanAmount;
double deposit;
printf("Please enter the loan amount: \n");
scanf("%lf", &loanAmount);
if (loanAmount < 10000)
{
deposit = loanAmount * 0.1;
}
else if (loanAmount < 15000)
{
deposit = 200;
}
else if (loanAmount < 20000)
{
deposit = 500;
}
else if (loanAmount < 50000)
{
deposit = loanAmount * 0.05;
}
else
{
printf("Loans in excess of $50,000 are not allowed.\n");
return 0;
}
printf("The required deposit is: %.2f\n", deposit);
return 0;
}
For more questions like Loan click the link below:
https://brainly.com/question/14628829
#SPJ4
Thanks for using our platform. We're always here to provide accurate and up-to-date answers to all your queries. We hope you found what you were looking for. Feel free to revisit us for more answers and updated information. Keep exploring Westonci.ca for more insightful answers to your questions. We're here to help.