We are here with you hands in hands to facilitate your learning & don't appreciate the idea of copying or replicating solutions. Read More>>

Looking For Something at vustudents.ning.com? Click Here to Search

www.bit.ly/vucodes

+ Link For Assignments, GDBs & Online Quizzes Solution

www.bit.ly/papersvu

+ Link For Past Papers, Solved MCQs, Short Notes & More


Dear Students! Share your Assignments / GDBs / Quizzes files as you receive in your LMS, So it can be discussed/solved timely. Add Discussion

How to Add New Discussion in Study Group ? Step By Step Guide Click Here.

Assignment No. 1 Dated: May 10, 16
Dear Students,
 
Assignment# 1 of CS201 has been uploaded on VU-LMS. Deadline for this assignment is May 16, 2016. You are required to submit your assignment in .cpp format. Assignment submitted in any other format will be graded with ZERO marks.
Your assignment must be submitted before or on due date. We'll not accept any assignment after the due date through email.

Instructions

Please read the following instructions carefully before submitting assignment:

It should be clear that your assignment will not get any credit if:

  • Assignment is submitted after due date.
  • Submitted assignment does not open or file is corrupt.
  • Assignment is copied (From internet/ to from students).

Software allowed to develop Assignment

-          Dev C++

Objectives:

Student will be able to analyze and implement the concepts of:

  • Writing, compiling and executing a program in DevC++
  • Variables and operators
  • Decision structures
  • Repetition structures
  • Functions 

Assignment Submission Instructions

You have to submit only.cpp file on the Assignments interface of CS201 at VULMS.Assignment submitted in any other format will not be accepted and will be graded zero marks.

Assignment

Write a c++ program that will:

  • Provide 2 options to the user as below:

ü  Enter 1 to calculate the area of Rectangle

ü  Enter 2 to calculate the area of a Trapezoid

  • If the user enters 1, then the program should ask the user to enter the width and lengthof the rectangle and then show the result after calculation. Formula for calculating Area of rectangle is

Area = width x Length.

  • If the user enters 2, then the program should ask the user to enter the base1, base2, and height of the trapezoid and then show the result after calculation. Formula for calculating Area of trapezoid is

          Area =

  • You must implement two different functions for calculating areas of rectangle and trapezoid.
  • After taking the choice from the user in form of 1 or 2, the relevant function should be called.
  • After showing the output to the user, you need to ask the user if he/she wants to do another calculation. If the user presses y or Y, then the program should ask the user again to enter the choice of shape otherwise the program should be terminated.

 Deadline:

Your assignment must be uploaded on or before May 16, 2016. We shall not accept your solution through email after the due date.

+ How to Follow the New Added Discussions at Your Mail Address?

+ How to Join Subject Study Groups & Get Helping Material?

+ How to become Top Reputation, Angels, Intellectual, Featured Members & Moderators?

+ VU Students Reserves The Right to Delete Your Profile, If?


See Your Saved Posts Timeline

Views: 2321

.

+ http://bit.ly/vucodes (Link for Assignments, GDBs & Online Quizzes Solution)

+ http://bit.ly/papersvu (Link for Past Papers, Solved MCQs, Short Notes & More)

+ Click Here to Search (Looking For something at vustudents.ning.com?)

+ Click Here To Join (Our facebook study Group)

Attachments:

Replies to This Discussion

Please Discuss here about this assignment.Thanks

Our main purpose here discussion not just Solution

We are here with you hands in hands to facilitate your learning and do not appreciate the idea of copying or replicating solutions.

CS201 – Introduction to Programming Assignment No. 1 Due Date: May 16, 2016

Instructions

Please read the following instructions carefully before submitting assignment:

It should be clear that your assignment will not get any credit if:

  • Assignment is submitted after due date.
  • Submitted assignment does not open or file is corrupt.
  • Assignment is copied (From internet/ to from students).

Software allowed to develop Assignment

-          Dev C++

Objectives:

Student will be able to analyze and implement the concepts of:

  • Writing, compiling and executing a program in DevC++
  • Variables and operators
  • Decision structures
  • Repetition structures
  • Functions 

Assignment Submission Instructions

You have to submit only.cpp file on the Assignments interface of CS201 at VULMS.Assignment submitted in any other format will not be accepted and will be graded zero marks.

Assignment

Write a c++ program that will:

  • Provide 2 options to the user as below:

ü  Enter 1 to calculate the area of Rectangle

ü  Enter 2 to calculate the area of a Trapezoid

  • If the user enters 1, then the program should ask the user to enter the width and lengthof the rectangle and then show the result after calculation. Formula for calculating Area of rectangle is

Area = width x Length.

  • If the user enters 2, then the program should ask the user to enter the base1, base2, and height of the trapezoid and then show the result after calculation. Formula for calculating Area of trapezoid is

          Area =

  • You must implement two different functions for calculating areas of rectangle and trapezoid.
  • After taking the choice from the user in form of 1 or 2, the relevant function should be called.
  • After showing the output to the user, you need to ask the user if he/she wants to do another calculation. If the user presses y or Y, then the program should ask the user again to enter the choice of shape otherwise the program should be terminated.

 Deadline:

Your assignment must be uploaded on or before May 16, 2016. We shall not accept your solution through email after the due date.

Rectangle area ::

how will calculate

assignment mai

likha hoa

Here is correct solution, comment it and change variable names for any help contact me

Attachments:

Dear Students Don’t wait for solution post your problems here and discuss ... after discussion a perfect solution will come in a result. So, Start it now, replies here give your comments according to your knowledge and understandings....

Yar Kindly Please

I have done the assignment and the output is all fine as well but the problem I am facing is I am unable to declare and call right function...
Working on it
Will surely post the solution when I would be done with that

Best Regards

okay thank You taurus sir

me ny bhi abi ni dekhi assignment :P dekh k discuss kr lengy

HERE is Complete solution

Attachments:

thantu Asim chachu weshy inna Asim Asim likhny ki kia jalolat thi :P

cs201-Assignment # 1(Complete Solution)

Check below link 

http://vustudents.ning.com/group/cs201introductiontoprogramming/for...

RSS

Latest Activity

彡JK彡 ❤️ replied to + "αяsαℓ " Ќąƶµяɨ •"'s discussion Happy Marriage to "Zee" & " Nomi weds Noor"....!
1 hour ago
彡JK彡 ❤️ replied to + "αяsαℓ " Ќąƶµяɨ •"'s discussion Happy Marriage to "Zee" & " Nomi weds Noor"....!
1 hour ago
+ ! ! ! ! ! ! ! ! ! AG replied to + "αяsαℓ " Ќąƶµяɨ •"'s discussion Happy Marriage to "Zee" & " Nomi weds Noor"....!
2 hours ago
+ ! ! ! ! ! ! ! ! ! AG liked + "αяsαℓ " Ќąƶµяɨ •"'s discussion Happy Marriage to "Zee" & " Nomi weds Noor"....!
2 hours ago
+ ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! replied to + "αяsαℓ " Ќąƶµяɨ •"'s discussion Happy Marriage to "Zee" & " Nomi weds Noor"....!
3 hours ago
+ ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! replied to + "αяsαℓ " Ќąƶµяɨ •"'s discussion Happy Marriage to "Zee" & " Nomi weds Noor"....!
3 hours ago
+ ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! replied to + "αяsαℓ " Ќąƶµяɨ •"'s discussion Happy Marriage to "Zee" & " Nomi weds Noor"....!
3 hours ago
+ ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! replied to + "αяsαℓ " Ќąƶµяɨ •"'s discussion Happy Marriage to "Zee" & " Nomi weds Noor"....!
3 hours ago
+ "αяsαℓ " Ќąƶµяɨ •" posted a discussion
3 hours ago
Aijaz khan updated their profile
3 hours ago
Aijaz khan added a discussion to the group CS605 Software Engineering-II
4 hours ago
Aijaz khan joined + M.Tariq Malik's group
4 hours ago
Ikra butt added a discussion to the group CS411 Visual Programming
4 hours ago
Ikra butt joined + M.Tariq Malik's group
4 hours ago
+ ՏhehαrZααD + replied to + ՏhehαrZααD +'s discussion Assalamu Alaikum
4 hours ago
Kashif Iqbal added a discussion to the group FIN624 Islamic Mode of Financing
4 hours ago
Kashif Iqbal joined + M.Tariq Malik's group
4 hours ago
Kashif Iqbal posted a discussion
4 hours ago
+ ! ! ! ! ! ! ! ! ! AG liked UMER UMER's discussion online earing
4 hours ago
+ ! ! ! ! ! ! ! ! ! AG liked +¢αяєℓєѕѕ gιяℓ's discussion چاۓ
4 hours ago

© 2019   Created by + M.Tariq Malik.   Powered by

Promote Us  |  Report an Issue  |  Privacy Policy  |  Terms of Service