www.vustudents.ning.com

We non-commercial site working hard since 2009 to facilitate learning Read More. We can't keep up without your support. Donate.

# CS201 100% Correct Assignment#01 Solution

CS201 100% Correct Assignment#01 Solution

please change kr lena sb isy ...

Views: 2249

Attachments:

### Replies to This Discussion

For Submitting assignment of Cs 201

Open Dev C++ software

save it as the name of ur id

Like

MC110202049.cpp

save it.

After following the above steps, you can submit your assignment solution.

thank u sir..

sir exams me b isi tarh se solution submit krwana hoga plz give me info abut exams?mid term and final...

wahan program likhna ho ga wahan he ..or output b nhi dekh sakty wahan ..bs program syntax likh k save karna hota hai wahan bs..

wah great sir ...matalb student koi kam na karyn??

ye konsi achi bat bta rhyn hain ap??

return...

Complete and Final Solution

#include<iostream>
#include<conio.h>
using namespace std;
main()

{
a:
system("cls");
cout "********************* Assesment System***********************\n";
float english,computer,calculus,gpa1,gpa2,gpa3,cgpa;

cout"\n\n\n Enter the marks of English:\t";
cin>>english;
cout"\n Enter the marks of Computer:\t";
cin>>computer;
cout"\n Enter the marks of Calculas:\t";
cin>>calculus;

if(english >=40 && english <=100)
{
gpa1= english*4/100;

}
else
{
gpa1=0;
}

if(computer >=40 && computer <=100)
{
gpa2=computer*4/100;

}
else
{
gpa2=0;
}

if(calculus >=40 && calculus <=100)
{
gpa3=calculus*4/100;

}
else
{
gpa3=0;
}
cgpa=3*(gpa1+gpa2+gpa3)/9;
cout "\n\n CGPA \t\t grade \t\t REMARKS";
coutendl;
if(cgpa==4)
{
coutendlcgpa" \t\t "" A \t\t Excellent"endl;
}
else if(cgpa<=3.99 && cgpa>=3)
{
cout"\n "cgpa" \t\t "" B \t\t Good"endl;
}
else if(cgpa<=2.99 && cgpa>=2)
{
cout"\n "cgpa" \t\t "" C \t\t Satisfactory"endl;
}
else if(cgpa<=1.99 && cgpa>=1.6)
{
cout"\n "cgpa" \t\t "" D \t\t Pass"endl;
}
else if(cgpa<=1.5)
{
cout"\n "cgpa" \t\t "" F \t\t Fail"endl;
}

if(gpa1==0)
{
cout"\n You have to repeat English subject!";
}

if(gpa2==0)
{
cout"\n You have to repeat Computer subject!";
}
if(gpa3==0)
{
cout"\n You have to repeat Calculus subject!";
}

cout"\n\n Do u want to calculate another Result(y/n): ";
cin>>select;

if (select =='y'|| select == 'Y')
{
goto a;
}
else if (select == 'n' || select == 'N')
{
system("exit");
}

}

Attachments:

One more idea solution

Attachments:

#include<iostream.h>
int main()
{
char remarks[20];
float calculasmarks=0,computermarks=0,englishmarks=0;
float calculas_gpa=0,computer_gpa=0,english_gpa=0,total_gpa=0;
do{
cout">>>>>>>>>>>>>>>>>>>>>>>>>>>>>>ASSESMENT SYSTEM OF THE UNIVERSITY<";
cout"\n";
cout"\nEnter marks of computer:";
cin>>computermarks;
cout"\n";
cout"\nEnter marks of calculas:";
cin>>calculasmarks;
cout"\n";
cout"\nEnter marks of english:";
cin>>englishmarks;
cout"\n";
if(calculasmarks<40)
{
calculas_gpa=0;
}
else
{
calculas_gpa=(calculasmarks*4)/100;
}
if(computermarks<40)
{
computer_gpa=0;
}
else
{
computer_gpa=(calculasmarks*4)/100;
}
if(englishmarks<40)
{
english_gpa=0;
}
else
{
english_gpa=(calculasmarks*4)/100;
}
total_gpa=(3*(calculas_gpa+computer_gpa+english_gpa))/9;

if(total_gpa==4)
{
char w[20]="Excellent";
strcpy(remarks,w);
}
else if(total_gpa>=3)
{
char w[20]="Good";
strcpy(remarks,w);
}
else if(total_gpa>=2)
{
char w[20]="Satisfactory";
strcpy(remarks,w);
}
else if(total_gpa>=1.6)
{
char w[20]="Pass";
strcpy(remarks,w);
}
else{
char w[20]="Fail";
strcpy(remarks,w);
}
if(calculas_gpa==0)
{
cout"\nYou have to repeat calculas";
}
if(computer_gpa==0)
{
cout"\nYou have to repeat computer";
}
if(english_gpa==0)
{
cout"\nYou have to repeat English";
}

cout"\nDo you want to calculate another result?(y/n):";
cin>>w;

}while(w=='y'||w=='Y');
}

yrr kia change krna ha????

yeh loo janab complete assigment hai.. aur result ki calculation bhi bilkul theek a rahi hain check ker loo. And don't forget to make changes

Attachments:

1

2

3

4

5

## VIP Member Badge & Others

------------------------------------

## Latest Activity

1 hour ago

2 hours ago

2 hours ago

2 hours ago

### @@@@ Mera dill bra roya h;;;;;

2 hours ago
+ Diamond Heart liked 刀のの尺's discussion (っ◔◡◔)っ ♥ Conversation ♥
2 hours ago
+ Diamond Heart liked Asrukh's discussion Mit chuki hai meri har khushi,
2 hours ago
2 hours ago