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.

 

Problem Statement: Exchange of currency rates

 

You are required to write a program for Currency Exchange rates. The basic idea is that user/reader will be able to interchange different currencies using our program. User will have three options i.e. Pakistani Rupees, US Dollars, and Euro.

 

 

Detailed Description:

 

1.  The program should display

 

Please select currencies that you want to exchange.

Description:

        Enter ‘R’ for Pakistani Rupees.

        Enter ‘E’ for Euro.

        Enter ‘D’ for Dollar.

       

Then your program should take these inputs,

 

2.  Depending upon the choices that user has entered, your program will further display the prompt

 

3.  Then the program should take two inputs from the user as:

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

          Please select the currency that you want to convert :            

          Please select the currency that you want to convert into:

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

 

4.  After getting both inputs, program will calculate the currency rates on the basis on this information.

 

 

   1 Euro = 112 Rupees.

   1 Dollar = 84 Rupees.

   1 Euro = 1.33 Dollars

   1 Dollar = 0.75 EUR

 

 

After calculating the conversion rate for the selected currencies display it on the screen.

 

In the end of the program, user should be asked if he/she wants to make another conversion.

 

If user presses y then the whole program should start again. If user presses n then the program should terminate.

 

         

 

 

Sample Output

 

 

Dev c++ Output:

Please select currencies that you want to exchange.

Description:

        Enter ‘R’ for Pakistani Rupees.

        Enter ‘E’ for Euro.

           Enter ‘D’ for Dollar.

 

    Please select the currency that you want to convert : E         

    Please select the currency that you want to convert into: D

 

  Please enter the amount in Euro : 12

 

  12 Euro = 16 Dollars

 

  Do you want to make another conversion? (y/n) : y

 

  Please select currencies that you want to exchange.

  Description:

       Enter ‘R’ for Pakistani Rupees.

       Enter ‘E’ for Euro.

          Enter ‘D’ for Dollar.

 

   Please select the currency that you want to convert : R         

   Please select the currency that you want to convert into: D

 

   Please enter the amount in Rupees : 90

 

   90 Rupees = 1.07143 Dollars

 

   Do you want to make another conversion? (y/n) : n

 

    

 

 

 

Hints:

  • You have to use if/else statements to switch among different currency combinations.
  • For repeating the whole program again by prompting the user, you have to use a char variable “choice” which will take the choice of the user in yes or no (y or n). You can use while or do-while loop for this purpose.
  • You must write your comments in critical areas of the program to explain the logic that you have used in that specific point. Do not use comments where they are not needed.
  • The output of your program may differ with one or two digits after fraction point. It won’t be an issue of deduction of marks.

 

 

Deadline

Your assignment must be uploaded/submitted on or before April 26, 2010

Please Discuss here about this assignment.

+ 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: 257

.

+ 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)

Replies to This Discussion

need solution of cs201 assignment
plzzzzzz, help to solve the assingment. tell the detail way of programming, whats sequence of steps,
Thanls
Tariq bhai mere pass to abhi tak books hi nai ponchi or computer pe b 1 lec tak nai parh saka bijli ki waja se.plz hlp me.
It is very easy to solve this assignment.
First you just creat the whole display of the output program with the help of " cout " statement.
Then start writing the calculation code sequentially with the help of " If Else" statement.
I think every one can solve it like this.

Take care
Still facing problem ---------------------- do contact me.
check it i hope it help u in making ur assignment
Attachments:
plz is se sirf idea le is file ko submit na karwae ho sakta he is me errors ho
thanks yaar
salam plz send the solution cs201

RSS

Latest Activity

Naser Javed (BBIT-6) and Fariha MIT are now friends
9 minutes ago
+ M.Tariq Malik replied to + M.Tariq Malik's discussion CS408 Current Mid Term Papers Fall 2019 (14 to 26 December 2019) & All Solved Past Papers, Solved MCQs & Helping MaterialCurrent Mid Term Papers Fall 2019 (14 to 26 December 2019) & All Solved Past Pa in the group CS408 Human Computer Interaction
20 minutes ago
+ M.Tariq Malik replied to + M.Tariq Malik's discussion BT402 Current Mid Term Papers Fall 2019 (14 to 26 December 2019) & All Solved Past Papers, Solved MCQs apers Fall 2019 (14 to 26 December 2019) & All Solved Past Papers, Solved MCQs & Helping Material in the group BT402 Microbial Biotechnology
24 minutes ago
+ M.Tariq Malik replied to + M.Tariq Malik's discussion BT402 Current Mid Term Papers Fall 2019 (14 to 26 December 2019) & All Solved Past Papers, Solved MCQs apers Fall 2019 (14 to 26 December 2019) & All Solved Past Papers, Solved MCQs & Helping Material in the group BT402 Microbial Biotechnology
24 minutes ago
+ M.Tariq Malik's 14 discussions were featured
24 minutes ago
+ M.Tariq Malik liked + M.Tariq Malik's discussion BT402 Current Mid Term Papers Fall 2019 (14 to 26 December 2019) & All Solved Past Papers, Solved MCQs apers Fall 2019 (14 to 26 December 2019) & All Solved Past Papers, Solved MCQs & Helping Material
24 minutes ago
+ M.Tariq Malik added a discussion to the group BT402 Microbial Biotechnology
25 minutes ago
+ M.Tariq Malik replied to + M.Tariq Malik's discussion MGMT611 Current Mid Term Papers Fall 2019 (14 to 26 December 2019) & All Solved Past Papers, Solved MCQs & Helping Material in the group MGMT611 Human Relations (alt. code=HRM611)
28 minutes ago
+ M.Tariq Malik replied to + M.Tariq Malik's discussion MGMT611 Current Mid Term Papers Fall 2019 (14 to 26 December 2019) & All Solved Past Papers, Solved MCQs & Helping Material in the group MGMT611 Human Relations (alt. code=HRM611)
29 minutes ago
+ M.Tariq Malik replied to + M.Tariq Malik's discussion MGMT611 Current Mid Term Papers Fall 2019 (14 to 26 December 2019) & All Solved Past Papers, Solved MCQs & Helping Material in the group MGMT611 Human Relations (alt. code=HRM611)
29 minutes ago
+ M.Tariq Malik liked + M.Tariq Malik's discussion MGMT611 Current Mid Term Papers Fall 2019 (14 to 26 December 2019) & All Solved Past Papers, Solved MCQs & Helping Material
29 minutes ago
+ M.Tariq Malik added a discussion to the group MGMT611 Human Relations (alt. code=HRM611)
30 minutes ago

Today Top Members 

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

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

.