60 475
Assignments Done
98,1%
Successfully Done
In April 2018

# Answer to Question #11975 in C# for Cherry blossom

Question #11975
To avail a college scholarship,an applicant must provide three figures:his NCEE score,monthly salary of his parents,and entrance examination score.The college may either decided to accept,rejected,or further study his application base on the ff:
Rejected if any of the ff. exists:
1.parent&#039;s salary is above 10,000
2.NCEE score is below 95
3.entrance exam score is below 90

Accepted if all of the ff. are met:
1.parent&#039;s salary is at most 3,500
2.average of NCEE and entrance exam is at least 96

Any application w/c is neither accepted nor rejected will be subjected for further study.Make a program that would input the NCEE score,parent&#039;s salary and entrance exam score and then output twhether the applicant is accepted,rejected or for further study.
Expert's answer
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace College_scholarship
{
class Program
{
static void Main(string[] args)
{
double average = 0;
double parentssalary = 0;
double NCEEscore = 0;
double entranceexamscore = 0;
Console.Write(&quot;Enter parents salary: &quot;);
parentssalary = double.Parse(Console.ReadLine());
Console.Write(&quot;Enter NCEE score: &quot;);
NCEEscore = double.Parse(Console.ReadLine());
Console.Write(&quot;Enter entrance exam score: &quot;);
entranceexamscore = double.Parse(Console.ReadLine());
average = (NCEEscore + entranceexamscore) / 2;
if (parentssalary &gt;= 10000 && NCEEscore &lt;= 95 && entranceexamscore &lt; 90) {
Console.Write(&quot;Reject!!!&quot;);
}
if (parentssalary &lt; 3500 &&
average&gt;=96)
{
Console.Write(&quot;Accept!!!&quot;);
}
Console.ReadLine();
}
}
}

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

#### Comments

No comments. Be first!

Submit