CS 201 Assignment required required uploded file is corrupt

0 views
Skip to first unread message

mc100404894 Mukhtar Hussain

unread,
Nov 2, 2010, 4:06:59 AM11/2/10
to vuzs
Dear friends

please send me CS 201 Introduction to programming file I m trying to downlod the file but the assignment file is currupt..



please 

mc090404040 Muhammad Mateen

unread,
Nov 2, 2010, 4:22:26 AM11/2/10
to vu...@googlegroups.com
A O A any body send me solution of cs507 today is the extend day of
the assignment

> --
> --
> Please visit www.vuzs.net For Current & Old Papers, Quizzes, Assignments and
> study material.
> --
> You received this message because you are subscribed to the Google
> Groups "vuZs" group.
> --
> To post a new message on this group, send email to vu...@googlegroups.com
> --
> Posting Rule: Please Start your subject line with subject code (like MGT501,
> MGT402)
> --
> To unsubscribe from this group, send email to
> vuZs+uns...@googlegroups.com
> --
> For more info, visit the main page of vuZs group at
> http://groups.google.com/group/vuZs
> --
> To join this group visit http://groups.google.com/group/vuZs/subscribe?hl=en
>

Ahmer Afzal

unread,
Nov 2, 2010, 5:44:34 AM11/2/10
to vu...@googlegroups.com
Fall 2010_CS201_1.doc

mc100404711 Nadia Perveen

unread,
Nov 2, 2010, 6:07:50 AM11/2/10
to vu...@googlegroups.com
which one you need assignemt 1?


 
--

mc100404894 Mukhtar Hussain

unread,
Nov 3, 2010, 3:26:56 AM11/3/10
to vu...@googlegroups.com
dear introduction to programming 1st assignment is not downloding plz help me send thorough mail only assignment not solution

plzzzzzzzzz

mukhtar 

mc100404894 Mukhtar Hussain

unread,
Nov 3, 2010, 3:53:26 AM11/3/10
to vu...@googlegroups.com
Here is Idea dear all,,,,,,its so easy 

Detailed Description:
The program should display like;

Please Enter Grade (‘A’ OR ‘B’ )
Then the program should take 10 inputs one by one,


•After taking 10 inputs, you should display no. of A grades.
•If A grades are less than or equal to 2, you should display a message “Your class is Poor!”. 
•If A grades are less than or equal to 7, you should display a message “Your class is Good!”.
•If A grades are greater than or equal to 8, you should display a message “Your class is Brilliant!”.
•The user should enter either A or B. If user has entered other than A or B, e.g. C,D,E etc. Your program should display a message like; 
"Please Enter 'A' or 'B' grade only!"

Sample Input and Output 
Please Enter Grade of student 1 : 
A Please Enter Grade of student 2 : 
A Please Enter Grade of student 3 : 
B Please Enter Grade of student 4 : 
A Please Enter Grade of student 5 : 
B Please Enter Grade of student 6 : 
B Please Enter Grade of student 7 : 
A Please Enter Grade of student 8 : 
B Please Enter Grade of student 9 : 
C

Please Enter ‘A’ or ‘B’ grade only! Please Enter Grade of student 9 : 
A
Please Enter Grade of student 10 :

A

Total No. of A Grades = 6


and dont forget to send assignment in .cpp File

mc100404894 Mukhtar Hussain

unread,
Nov 3, 2010, 3:54:44 AM11/3/10
to vu...@googlegroups.com
BELOW GIVEN IS THE SOLUTION OF ASSIGNMENT. CHANGE THE VARIABLE NAMES AND A LITTLE IDEA.

using namespace std;

#include
#include


main()

{
int totalstudent=1;
int A =0,B=0;

char grad(1);

while (totalstudent <= 10)
{
cout"Please Enter Grade of student "totalstudent" :\n";
cin>>grad;
if (grad=='a' or grad =='A')
{
A = A+1;
totalstudent++;
}
else if (grad=='b' or grad =='B')
{
B += 1;
totalstudent++;
}
else
{
cout"\nPlease Enter 'A' or 'B' grade only! \n";

}
}

cout"Total No. of A Grades "A" :\n";


if (A <=2)
{
cout"\nYour class is Poor!\n";
}else if (A <=7)
cout"\nYour class is Good!\n";
else
{
cout"\nYour class is Brilliant!\n";
}
getche();

}

Read more: CS201 Assignment#01 Solution & Discussion Due Date:05-11-2010 - Virtual University of Pakistan http://www.vustudents.net/group/cs201introductiontoprogramming/forum/topics/cs201-assignment01-solution#ixzz14ChaABX1

mc100404345 Irum Mukhtar

unread,
Nov 4, 2010, 7:00:16 AM11/4/10
to vu...@googlegroups.com
AOA.hello dear i have no idea.cpp how can i send my assignment .tell me the proceduer.

mc100404894 Mukhtar Hussain

unread,
Nov 5, 2010, 3:54:03 AM11/5/10
to vu...@googlegroups.com
its so easy......... when u write your code in Dev C++ and click to save that will automaticaly save file with extension .cpp that is executable code.... 

dont forget to compile and correct the errors.


thanks 

Mukhtar Mali 

mc100403494 Imran Noor

unread,
Nov 5, 2010, 5:17:27 AM11/5/10
to vu...@googlegroups.com
#include<conio.h>
#include<iostream.h>
int main()
{
     int countA=0,countB=0,counTotal=1;
     char grade;
     do
     {
         cout<<"Please Enter Grade of student "<<counTotal<<":"<<endl;
         cin>>grade;
         if (grade=='A')
         {
                countA++;
                        }
                        else if(grade=='B')
                        {
                             countB++;
                             }
                             else
                             {
                               cout<<"Please Enter Grade ('A' OR 'B' ):"<<endl;
                               continue;
                                 
                                  }
                                  counTotal++;
                                 
                                 
        
         }while (counTotal <= 10);
         cout<<"Total No. of A Grades = "<<countA<<endl;
         if(countA>=8){cout<<"Your class is Brilliant!"<<endl;}
         else if (countA < 8 && countA >2){cout<<"Your class is Good!"<<endl;}
         else cout<<"Your class is Poor!"<<endl;
        
         getch();
         return 0;
     
    
     }


--
--
Please visit www.vuzs.net For Current & Old Papers, Quizzes, Assignments and study material.
--
You received this message because you are subscribed to the Google
Groups "vuZs" group.
--
To post a new message on this group, send email to vu...@googlegroups.com
--
Posting Rule: Please Start your subject line with subject code (like MGT501, MGT402)
--
To unsubscribe from this group, send email to vuZs+uns...@googlegroups.com
--
For more info, visit the main page of vuZs group at http://groups.google.com/group/vuZs
--
To join this group visit http://groups.google.com/group/vuZs/subscribe?hl=en



--
Best Regards
Imran Noor
Virtual University of Pakistan
Master of Computer Sciences (MCS)
imra...@yahoo.com
03006360094


mc100404894 Mukhtar Hussain

unread,
Nov 5, 2010, 6:28:37 AM11/5/10
to vu...@googlegroups.com
Dear Imran:


their is little logical error in your code...... if we enter grade in small capital letter "a" then its is showing mesg....

mc100404345 Irum Mukhtar

unread,
Jan 30, 2011, 2:38:50 AM1/30/11
to vu...@googlegroups.com
Assala_O_Alaikum
  dear. i need CS201 assignment Solution.
Reply all
Reply to author
Forward
0 new messages