Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Cs201 Introduction to programing first assignment fall, 2010 idea solution
#1
[FONT=&quot]Assignment No. 1
Semester: Fall 2010[/FONT]
[FONT=&quot]CS201: Introduction to Programming
[/FONT]
[FONT=&quot]Total Marks: 20[/FONT]

[FONT=&quot]Due Date: 05th November, 2010
[/FONT]
[FONT=&quot]Problem Statement: Calculating No. of A Grades in Class [/FONT]

[FONT=&quot]You are required to write a program which should take input from user in the form of characters A or B. Based upon user’s input you should calculate no. of A grades. You should use while loop or do/while loop for taking input and if / else condition for making decisions. [/FONT]
[FONT=&quot]Detailed Description:[/FONT]
[FONT=&quot] [/FONT]
[FONT=&quot]The program should display like;[/FONT]
[FONT=&quot] [/FONT]
[FONT=&quot]Please Enter Grade (‘A’ OR ‘B’ )[/FONT]
[FONT=&quot] [/FONT]
[FONT=&quot]Then the program should take 10 inputs one by one, [/FONT]
[FONT=&quot] [/FONT]
  • [FONT=&quot]After taking 10 inputs, you should display no. of A grades.[/FONT]
  • [FONT=&quot]If A grades are less than or equal to 2, you should display a message “Your class is Poor!”. [/FONT]
  • [FONT=&quot]If A grades are less than or equal to 7, you should display a message “Your class is Good!”.[/FONT]
  • [FONT=&quot]If A grades are greater than or equal to 8, you should display a message “Your class is Brilliant!”.[/FONT]
  • [FONT=&quot]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; [/FONT]
[FONT=&quot] "Please Enter 'A' or 'B' grade only!"[/FONT]
[FONT=&quot] [/FONT]
[FONT=&quot]Sample Input and Output [/FONT]
[FONT=&quot] [/FONT]
[FONT=&quot]Please Enter Grade of student 1 : [/FONT]
[FONT=&quot]A[/FONT]
[FONT=&quot]Please Enter Grade of student 2 : [/FONT]
[FONT=&quot]A[/FONT]
[FONT=&quot]Please Enter Grade of student 3 : [/FONT]
[FONT=&quot]B[/FONT]
[FONT=&quot]Please Enter Grade of student 4 : [/FONT]
[FONT=&quot]A[/FONT]
[FONT=&quot]Please Enter Grade of student 5 : [/FONT]
[FONT=&quot]B[/FONT]
[FONT=&quot]Please Enter Grade of student 6 : [/FONT]
[FONT=&quot]B[/FONT]
[FONT=&quot]Please Enter Grade of student 7 : [/FONT]
[FONT=&quot]A[/FONT]
[FONT=&quot]Please Enter Grade of student 8 : [/FONT]
[FONT=&quot]B[/FONT]
[FONT=&quot]Please Enter Grade of student 9 : [/FONT]
[FONT=&quot]C[/FONT]
[FONT=&quot] [/FONT]
[FONT=&quot]Please Enter ‘A’ or ‘B’ grade only![/FONT]
[FONT=&quot]Please Enter Grade of student 9 : [/FONT]
[FONT=&quot]A[/FONT]
[FONT=&quot] [/FONT]
[FONT=&quot]Please Enter Grade of student 10 : [/FONT]

[FONT=&quot]A[/FONT]
[FONT=&quot] [/FONT]
[FONT=&quot] [/FONT]
[FONT=&quot] [/FONT]
[FONT=&quot]Total No. of A Grades = 6[/FONT]
[FONT=&quot] [/FONT]
[FONT=&quot]Your Class is Good![/FONT]


Solution will be uploaded soon.
Reply
#2
solution kub upload hoga main asray main dear is k elwa sta 302 ka sloution bhi required hai
Reply
#3
when the solution will be available 5th november is last date of first assignment
Reply
#4
pta nahi kab mily ga solution cs 201 ka
Reply
#5
Mil jay ga app ko solution bhi pershan kyon ho rahay han.
Reply
#6
sir please 201 ka solution send kr den na
Reply
#7
keya aap mit kr rahe ho aur ap ka first semister hai agar han
to plz 03003125760 pe mujh se baat karen keyoun k men mit kr raha hon mill k discuss karte rahen ge achi madad ho jae gee
Reply
#8
Dear i have completed my mcs. So if u want to discuss you can discuss here. i will reply. but at lesat start discussion.
Reply
#9
Thanks Expert being here for us to solve our Assingmnets

may i have ur cel no plzz
Reply
#10
dear expert plzz tel me one more thing that did u have completed ur MCS from VU ?
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  CS301 Assignment # 4 Due Date: 02-Feb-2016 Vuhelper 0 2,319 02-03-2016, 05:38 PM
Last Post: Vuhelper
  CS703 – Advanced Operating Systems Assignment No.3 solution January 2016 Vuhelper 0 5,904 01-23-2016, 09:58 PM
Last Post: Vuhelper
  CS601 Data Communication Assignment No. 03 Solution 23rd January 2016 Vuhelper 1 1,924 01-23-2016, 06:09 PM
Last Post: Vuhelper
  CS403 Assignment No. 03 Solution 23rd January 2016 Vuhelper 2 1,159 01-23-2016, 03:18 PM
Last Post: Vuhelper
  CS506 Web Design and Development Assignment no 3 Solution 3rd January 2016 Vuhelper 0 2,237 01-23-2016, 03:16 PM
Last Post: Vuhelper
  CS724 Software Process Improvement Assignment No 01 Solution 20th January 2016 Vuhelper 0 1,962 01-20-2016, 06:26 PM
Last Post: Vuhelper
  CS711 Software Design Assignment No 01 Solution Due Date Feb 12, 2016 Vuhelper 0 1,658 01-20-2016, 06:24 PM
Last Post: Vuhelper
  CS709 Formal Methods for Software Engineering Assignment No 01 Solution January 2016 Vuhelper 0 1,792 01-20-2016, 06:22 PM
Last Post: Vuhelper
  cs703 assignment no 3 Solution 20th January 2016 Vuhelper 0 1,695 01-20-2016, 06:20 PM
Last Post: Vuhelper
  CS704 Assignment No. 01 Solution January 2016 Vuhelper 0 4,794 01-20-2016, 06:19 PM
Last Post: Vuhelper

Forum Jump:


Users browsing this thread: 1 Guest(s)