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

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: 2318

.

+ 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

M IDREES replied to + M.Tariq Malik's discussion CS403 Assignment No 01 Fall 2019 Solution & Discussion Due Date: 13-11-2019 in the group CS403 Database Management Systems
1 minute ago
M IDREES joined + M.Tariq Malik's group
1 minute ago
M IDREES replied to + M.Tariq Malik's discussion CS502 Fundamentals of Algorithms Assignment No 01 Fall 2019 Solution & Discussion in the group CS502 Fundamentals of Algorithms
7 minutes ago
Profile IconM IDREES, Abdul Ghaffar and Umair ali joined + M.Tariq Malik's group
7 minutes ago
+ AiM replied to 彡Tweety彡 ❤️'s discussion .... Mera Pakistan... :x:p
10 minutes ago
Azhar Sagar posted a discussion
10 minutes ago
Siddiq khan kakar joined + M.Tariq Malik's group
16 minutes ago
+ M.Tariq Malik replied to +¢αяєℓєѕѕ gιяℓ's discussion CS202 - Fundamentals of Front End Development Assignments No. 1 Due Date Nov 14, 2019 in the group CS202 Fundamentals of Front End Development
28 minutes ago
+ M.Tariq Malik replied to +¢αяєℓєѕѕ gιяℓ's discussion CS202 - Fundamentals of Front End Development Assignments No. 1 Due Date Nov 14, 2019 in the group CS202 Fundamentals of Front End Development
29 minutes ago
+ M.Tariq Malik replied to + M.Tariq Malik's discussion MGT211 GDB Fall 2019 Solution & Discussion in the group MGT211 Introduction To Business
29 minutes ago
Mian Ali added a discussion to the group MCM520 Contemporary Mass Media
34 minutes ago
Mian Ali joined + M.Tariq Malik's group
36 minutes ago
+ M.Tariq Malik replied to + M.Tariq Malik's discussion EDU302 Human Development and Learning Assignment No 01 Fall 2019 Solution & Discussion in the group EDU302 Human Development and Learning
36 minutes ago
Profile IconMian Ali and Muhammad Daniyal joined + M.Tariq Malik's group
38 minutes ago
+ M.Tariq Malik replied to + M.Tariq Malik's discussion CS508 Assignment No 01 Fall 2019 Solution & Discussion Due Date: 12-11-2019 in the group CS508 Modern Programming Languages
39 minutes ago
+ !! SARAH replied to Rana Ali's discussion Tell some words in the Shan of Hazart Muhammad (S.A.W)
41 minutes ago
Hiba Sani joined + M.Tariq Malik's group
42 minutes ago
+ M.Tariq Malik liked + M.Tariq Malik's discussion MTH301 Calculus II GDB Fall 2019 Solution & Discussion
43 minutes ago
+ M.Tariq Malik replied to + M.Tariq Malik's discussion MTH301 Calculus II GDB Fall 2019 Solution & Discussion in the group MTH301 Calculus II
43 minutes ago
+ M.Tariq Malik added a discussion to the group MTH301 Calculus II
45 minutes ago

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

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