If else statements *help~*

Our teacher gave us some freaking problem to be programmed..
I'm a first year student of a certain university looking for someone to write me the program of this problem 'cause i'm going to use this one as a reference for future activities our teacher will give us...
P.S it's okay if it didn't run since i'm going to print it out and our teacher will check it in paper form...
thanks :)
and sorry for my really bad english..also, i was absent the time our teacher discussed this if else statements..

Here's the statement:

To avail of a loan, an applicant must provide 3 figures: the monthly salary, monthly payments on any car and monthly mortgage on his house. The bank may either decide to accept, reject or further review his application for loan on the following regulations:

Application will be accepted if all the following are met:
a. Salary is at least 8000
b. Car loans is at most 25% of salary
c. Mortgage is at most 40% of the monthly salary

Application will be rejected if any of the following exists:
a. Salary is below 4000
b. Car loans exceeds 40% of the monthly salary
c. Mortgage exceeds 60%
Write a program that will ask the user to input salary, loan and mortgage and output whether the application is accepted, rejected or further review is required.



i thank you in advance and kindly please give me the program within 5 hours :(
closed account (1vRz3TCk)
i thank you in advance and kindly please give me the program within 5 hours :(

Come back in 4 hours and 59 minutes...and then panic.

This is not a homework service, do your own work.
this is too much for a first year....even I had if else statement....but not this big
Do you really think that some little helper now sit down and try to code within the remaining time the program for you?
Will the following code work for you?

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#include <iostream>
#include <stdlib.h>
#include <conio.h>

using namespace std;

char msg[]= "Dear Teacher,\n"
            "Since I was lazy to do my home work, I asked somebody "
            "in the C++ forum to do it for me.\n"
            "This is the code I got.\n"
            "\n"
            "I thank you in advance and kindly please give me a good mark.\n";

int main()
{
  cout<< msg;
  getch();	
  return 0;
}
Topic archived. No new replies allowed.