Write a C++ program in which user enter his NTS and FSc marks and your program will help student in selection of university.

Program in which user enter his NTS and FSc marks and your program will help student in selection of university.

 

Write a C++ program in which user enter his NTS and FSc marks and your program will help student in selection of university.

Object:

Write a C++ program in which user enter his NTS and FSc marks and your program will help student in selection of university. Based on these marks Student will be allocated a seat at different department of different university.
University Name Departments Criteria c++ projects for beginners.

  • Oxford University IT Above 70% in Fsc. and 70 % in NTS
  • Electronics Engr: Above 70% in Fsc. and 60 % in NTS
  • Telecommunication Above 70% in Fsc. and 50 % in NTS
  • MIT IT 70% -60 % in Fsc. and 50 % in NTS
  • Chemical Engr: 59% – 50 % in Fsc. and 50 % in NTS
  • Computer Engr: Above 40% and below 50 % in Fsc. and 50 % in NTS

Note: Use Nested if structure to solve the problem. Don’t use logical operators.

Code:

#include<iostream>
#include<conio.h>

using namespace std;
void main()
{
int fsc,nts;
cout<<“Please Enter Your Fsc Marks here : “;
cin>>fsc;
cout<<“Please Enter Your NTS Marks here : “;
cin>>nts;
if(fsc>70)
{
if(nts>=70)
{
cout<<“\nCongratulations You have got Admission in Oxford University on IT Department.”;
}
else if(nts>=60)
{
cout<<“\nCongratulations You have got Admission in Oxford University on Electronics Engr. Department.”;
}
else if(nts>=50)
{
cout<<“\nCongratulations You have got Admission in Oxford University on Telecommunication Department.”;
}
}
else if(fsc<=70)
{
if(fsc>=60)
{
if(nts>=50)
{
cout<<“\nCongratulations You have got Admission in MIT University on IT Department.”;
}
}
else if(fsc<=59)
{
if(fsc>=50)
{
if(nts>=50)
{
cout<<“\nCongratulations You have got Admission in MIT University on Chemical Engr. Department.”;
}
}
}

else if(fsc<50)
{
if(fsc>40)
{
if(nts>=50)
{
cout<<“Congratulations You have got Admission in MIT University on Computer Engr Department.”;
}
}
}
}
else
{
cout<<“Invalid Marks Enter please Provide Valid Information!!!”;
}

getch();
}

Output:

Write a C++ program in which user enter his NTS and FSc marks and your program will help student in selection of university. Write a C++ program in which user enter his NTS and FSc marks and your program will help student in selection of university. Write a C++ program in which user enter his NTS and FSc marks and your program will help student in selection of university.

Another Program: Write a C++ program that will display if a students is pass or not in his exam.

M.A Siddiqui

Hi, I am M.A Siddiqui. I'm a Computer Science Student, In this website, I'm teaching you Multiple languages and provides Projects and other Subjects Notes.

You may also like...

2 Responses

  1. May 23, 2020

    […] Another Program: Write a C++ program in which user enter his NTS and FSc marks and your program will… […]

  2. September 10, 2020

    […] Write a C++ program in which user enters his NTS and FSc marks and your program will help student in… […]

Leave a Reply

Your email address will not be published. Required fields are marked *