{"id":526,"date":"2012-02-25T03:07:35","date_gmt":"2012-02-25T03:07:35","guid":{"rendered":"http:\/\/www.websitedesignwebsitedevelopment.com\/?p=526"},"modified":"2014-03-19T09:14:06","modified_gmt":"2014-03-19T09:14:06","slug":"problem-statement-exchange-of-currency-rates","status":"publish","type":"post","link":"https:\/\/androidbubble.com\/blog\/website-development\/c\/problem-statement-exchange-of-currency-rates\/","title":{"rendered":"Problem Statement: Exchange of currency rates"},"content":{"rendered":"<h2>Problem Statement: Exchange of currency rates (<a title=\"Click here to download .cpp file in .txt format. Change its extension or pick code from this file.\" href=\"http:\/\/www.websitedesignwebsitedevelopment.com\/website-development\/c\/problem-statement-exchange-of-currency-rates\/526\/attachment\/cs201_1_mc100200752\" rel=\"attachment wp-att-527\">Download<\/a>)<\/h2>\n<p>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. <strong><\/strong><\/p>\n<p><strong>\u00a0<\/strong><\/p>\n<p><strong>Detailed Description:<\/strong><\/p>\n<ol>\n<li>The program should display<\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<p>Please select currencies that you want to exchange.<\/p>\n<p>Description:<\/p>\n<p>Enter \u2018R\u2019 for Pakistani Rupees.<\/p>\n<p>Enter \u2018E\u2019 for Euro.<\/p>\n<p>Enter \u2018D\u2019 for Dollar.<\/p>\n<p>Then your program should take these inputs,<\/p>\n<ol>\n<li>Depending upon the choices that user has entered, your program will further display the prompt<\/li>\n<\/ol>\n<ol>\n<li>Then the program should take two inputs from the user as:<\/li>\n<\/ol>\n<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<\/p>\n<p>Please select the currency that you want to convert :<\/p>\n<p>Please select the currency that you want to convert into:<\/p>\n<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<\/p>\n<ol>\n<li>After getting both inputs, program will calculate the currency rates on the basis on this information.<\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<p>1 Euro = 112 Rupees.<\/p>\n<p>1 Dollar = 84 Rupees.<\/p>\n<p>1 Euro = 1.33 Dollars<\/p>\n<p>1 Dollar = 0.75 EUR<\/p>\n<p>After calculating the conversion rate for the selected currencies display it on the screen.<\/p>\n<p>In the end of the program, user should be asked if he\/she wants to make another conversion.<\/p>\n<p>If user presses <strong>y<\/strong> then the whole program should start again. If user presses <strong>n<\/strong> then the program should terminate.<\/p>\n<p>&nbsp;<\/p>\n<p><strong><span style=\"text-decoration: underline;\">Sample Output<\/span><\/strong><\/p>\n<p>&nbsp;<\/p>\n<table cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td valign=\"top\" width=\"729\">Dev c++ Output:<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"729\">Please select currencies that you want to exchange.<\/p>\n<p>Description:<\/p>\n<p>Enter \u2018R\u2019 for Pakistani Rupees.<\/p>\n<p>Enter \u2018E\u2019 for Euro.<\/p>\n<p>Enter \u2018D\u2019 for Dollar.<\/p>\n<p>Please select the currency that you want to convert : <strong>E<\/strong><\/p>\n<p>Please select the currency that you want to convert into: <strong>D<\/strong><\/p>\n<p>Please enter the amount in Euro : <strong>12<\/strong><\/p>\n<p>12 Euro = 16 Dollars<\/p>\n<p>Do you want to make another conversion? (y\/n) : <strong>y<\/strong><\/p>\n<p>Please select currencies that you want to exchange.<\/p>\n<p>Description:<\/p>\n<p>Enter \u2018R\u2019 for Pakistani Rupees.<\/p>\n<p>Enter \u2018E\u2019 for Euro.<\/p>\n<p>Enter \u2018D\u2019 for Dollar.<\/p>\n<p>Please select the currency that you want to convert : <strong>R<\/strong><\/p>\n<p>Please select the currency that you want to convert into: <strong>D<\/strong><\/p>\n<p>Please enter the amount in Rupees : <strong>90<\/strong><\/p>\n<p>90 Rupees = 1.07143 Dollars<\/p>\n<p>Do you want to make another conversion? (y\/n) : <strong>n<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n","protected":false},"excerpt":{"rendered":"<p>Problem Statement: Exchange of currency rates (Download) 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. \u00a0 Detailed Description: The program should display &nbsp; Please [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[31],"tags":[],"class_list":["post-526","post","type-post","status-publish","format-standard","hentry","category-c"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.9 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Problem Statement: Exchange of currency rates - AndroidBubble Blog<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/androidbubble.com\/blog\/website-development\/c\/problem-statement-exchange-of-currency-rates\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Problem Statement: Exchange of currency rates - AndroidBubble Blog\" \/>\n<meta property=\"og:description\" content=\"Problem Statement: Exchange of currency rates (Download) 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. \u00a0 Detailed Description: The program should display &nbsp; Please [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/androidbubble.com\/blog\/website-development\/c\/problem-statement-exchange-of-currency-rates\/\" \/>\n<meta property=\"og:site_name\" content=\"AndroidBubble Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/pages\/Website-Design-Website-Development\/172363336135453\" \/>\n<meta property=\"article:published_time\" content=\"2012-02-25T03:07:35+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2014-03-19T09:14:06+00:00\" \/>\n<meta name=\"author\" content=\"Fahad\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Fahad\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/androidbubble.com\/blog\/website-development\/c\/problem-statement-exchange-of-currency-rates\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/androidbubble.com\/blog\/website-development\/c\/problem-statement-exchange-of-currency-rates\/\"},\"author\":{\"name\":\"Fahad\",\"@id\":\"https:\/\/androidbubble.com\/blog\/#\/schema\/person\/0a833b633f744c3a5e0de7c9a94e71f7\"},\"headline\":\"Problem Statement: Exchange of currency rates\",\"datePublished\":\"2012-02-25T03:07:35+00:00\",\"dateModified\":\"2014-03-19T09:14:06+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/androidbubble.com\/blog\/website-development\/c\/problem-statement-exchange-of-currency-rates\/\"},\"wordCount\":343,\"articleSection\":[\"C++\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/androidbubble.com\/blog\/website-development\/c\/problem-statement-exchange-of-currency-rates\/\",\"url\":\"https:\/\/androidbubble.com\/blog\/website-development\/c\/problem-statement-exchange-of-currency-rates\/\",\"name\":\"Problem Statement: Exchange of currency rates - AndroidBubble Blog\",\"isPartOf\":{\"@id\":\"https:\/\/androidbubble.com\/blog\/#website\"},\"datePublished\":\"2012-02-25T03:07:35+00:00\",\"dateModified\":\"2014-03-19T09:14:06+00:00\",\"author\":{\"@id\":\"https:\/\/androidbubble.com\/blog\/#\/schema\/person\/0a833b633f744c3a5e0de7c9a94e71f7\"},\"breadcrumb\":{\"@id\":\"https:\/\/androidbubble.com\/blog\/website-development\/c\/problem-statement-exchange-of-currency-rates\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/androidbubble.com\/blog\/website-development\/c\/problem-statement-exchange-of-currency-rates\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/androidbubble.com\/blog\/website-development\/c\/problem-statement-exchange-of-currency-rates\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/androidbubble.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Website Development\",\"item\":\"https:\/\/androidbubble.com\/blog\/category\/website-development\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"C++\",\"item\":\"https:\/\/androidbubble.com\/blog\/category\/website-development\/c\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Problem Statement: Exchange of currency rates\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/androidbubble.com\/blog\/#website\",\"url\":\"https:\/\/androidbubble.com\/blog\/\",\"name\":\"AndroidBubble Blog\",\"description\":\"Articles &amp; Posts\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/androidbubble.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/androidbubble.com\/blog\/#\/schema\/person\/0a833b633f744c3a5e0de7c9a94e71f7\",\"name\":\"Fahad\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/androidbubble.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/afab5bcad71955d142a69df1758e6710aed4ab9cc2b5da28c54a7c3f39801b73?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/afab5bcad71955d142a69df1758e6710aed4ab9cc2b5da28c54a7c3f39801b73?s=96&d=mm&r=g\",\"caption\":\"Fahad\"},\"sameAs\":[\"http:\/\/www.androidbubbles.com\/\",\"https:\/\/x.com\/phpFlex\"],\"url\":\"https:\/\/androidbubble.com\/blog\/author\/admin\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Problem Statement: Exchange of currency rates - AndroidBubble Blog","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/androidbubble.com\/blog\/website-development\/c\/problem-statement-exchange-of-currency-rates\/","og_locale":"en_US","og_type":"article","og_title":"Problem Statement: Exchange of currency rates - AndroidBubble Blog","og_description":"Problem Statement: Exchange of currency rates (Download) 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. \u00a0 Detailed Description: The program should display &nbsp; Please [&hellip;]","og_url":"https:\/\/androidbubble.com\/blog\/website-development\/c\/problem-statement-exchange-of-currency-rates\/","og_site_name":"AndroidBubble Blog","article_publisher":"https:\/\/www.facebook.com\/pages\/Website-Design-Website-Development\/172363336135453","article_published_time":"2012-02-25T03:07:35+00:00","article_modified_time":"2014-03-19T09:14:06+00:00","author":"Fahad","twitter_misc":{"Written by":"Fahad","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/androidbubble.com\/blog\/website-development\/c\/problem-statement-exchange-of-currency-rates\/#article","isPartOf":{"@id":"https:\/\/androidbubble.com\/blog\/website-development\/c\/problem-statement-exchange-of-currency-rates\/"},"author":{"name":"Fahad","@id":"https:\/\/androidbubble.com\/blog\/#\/schema\/person\/0a833b633f744c3a5e0de7c9a94e71f7"},"headline":"Problem Statement: Exchange of currency rates","datePublished":"2012-02-25T03:07:35+00:00","dateModified":"2014-03-19T09:14:06+00:00","mainEntityOfPage":{"@id":"https:\/\/androidbubble.com\/blog\/website-development\/c\/problem-statement-exchange-of-currency-rates\/"},"wordCount":343,"articleSection":["C++"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/androidbubble.com\/blog\/website-development\/c\/problem-statement-exchange-of-currency-rates\/","url":"https:\/\/androidbubble.com\/blog\/website-development\/c\/problem-statement-exchange-of-currency-rates\/","name":"Problem Statement: Exchange of currency rates - AndroidBubble Blog","isPartOf":{"@id":"https:\/\/androidbubble.com\/blog\/#website"},"datePublished":"2012-02-25T03:07:35+00:00","dateModified":"2014-03-19T09:14:06+00:00","author":{"@id":"https:\/\/androidbubble.com\/blog\/#\/schema\/person\/0a833b633f744c3a5e0de7c9a94e71f7"},"breadcrumb":{"@id":"https:\/\/androidbubble.com\/blog\/website-development\/c\/problem-statement-exchange-of-currency-rates\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/androidbubble.com\/blog\/website-development\/c\/problem-statement-exchange-of-currency-rates\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/androidbubble.com\/blog\/website-development\/c\/problem-statement-exchange-of-currency-rates\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/androidbubble.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Website Development","item":"https:\/\/androidbubble.com\/blog\/category\/website-development\/"},{"@type":"ListItem","position":3,"name":"C++","item":"https:\/\/androidbubble.com\/blog\/category\/website-development\/c\/"},{"@type":"ListItem","position":4,"name":"Problem Statement: Exchange of currency rates"}]},{"@type":"WebSite","@id":"https:\/\/androidbubble.com\/blog\/#website","url":"https:\/\/androidbubble.com\/blog\/","name":"AndroidBubble Blog","description":"Articles &amp; Posts","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/androidbubble.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/androidbubble.com\/blog\/#\/schema\/person\/0a833b633f744c3a5e0de7c9a94e71f7","name":"Fahad","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/androidbubble.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/afab5bcad71955d142a69df1758e6710aed4ab9cc2b5da28c54a7c3f39801b73?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/afab5bcad71955d142a69df1758e6710aed4ab9cc2b5da28c54a7c3f39801b73?s=96&d=mm&r=g","caption":"Fahad"},"sameAs":["http:\/\/www.androidbubbles.com\/","https:\/\/x.com\/phpFlex"],"url":"https:\/\/androidbubble.com\/blog\/author\/admin\/"}]}},"views":1407,"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/androidbubble.com\/blog\/wp-json\/wp\/v2\/posts\/526","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/androidbubble.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/androidbubble.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/androidbubble.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/androidbubble.com\/blog\/wp-json\/wp\/v2\/comments?post=526"}],"version-history":[{"count":4,"href":"https:\/\/androidbubble.com\/blog\/wp-json\/wp\/v2\/posts\/526\/revisions"}],"predecessor-version":[{"id":1682,"href":"https:\/\/androidbubble.com\/blog\/wp-json\/wp\/v2\/posts\/526\/revisions\/1682"}],"wp:attachment":[{"href":"https:\/\/androidbubble.com\/blog\/wp-json\/wp\/v2\/media?parent=526"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/androidbubble.com\/blog\/wp-json\/wp\/v2\/categories?post=526"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/androidbubble.com\/blog\/wp-json\/wp\/v2\/tags?post=526"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}