Home > Back-end >  C language program
C language program

Time:09-30

Masters the process how to write?

CodePudding user response:

 
Float loan (int a)
{
If (a & lt;=0)
{
Printf (" loans must be positive \ n ");
return 0;
}
Float rate=1;
If (a & gt; 1000)
{
Printf (" do you have a large sum of loan \ n ");
Rate=1.0 f/a;
If (a> 10000)
{
Printf (" do you want to borrow more money? \n");
}
The else
Printf (" are you sure you need a lot of money \ n ");
}

The return rate.
}



CodePudding user response:

Why don't debug the error
  • Related