Unit 12Unit 12 assignment 1 - For this assignment I was given the following scenario : 'You are a programme working for a software development company. Your manager has asked you to look at two programs shown below as program 1 and program 2.' Unit 12 assignment 2 - For this assignment I was given the following scenario : 'The manager in charge of the currency exchange in a local HSBC bank has asked you to design a program which can convert different currencies based on a given exchange rate. You should explain how your design meets the user requirements when addressing the problem.' Unit 12 assignment 3 -For this assignment I was given the following scenario : 'The manager in charge of the currency exchange of the local HSBC bank likes your solution for the currency converter (assignment 2). That manager has asked you to develop your program solution, requiring you to structure your approach for maintainability, by including a commentary within the code. You will need to test the program against a test plan of your own devising, checking that the client’s requirements are still being met and documenting any changes that you have made to the program since the previous assignment. Be sure to fix any faults in the program as you work from design to implementation. You will then need to get feedback on the program from one other person, including how easy it is to use and the quality of the code. Review and refine your program in the light of that feedback. This needs to be fully documented.' Unit 12 assignment 4 - For this assignment I was given the following scenario : 'Looking back at the program that you have developed, your manager wants you to write a report or documentation. Your documentation must include the following: 1. How your program may be improved or developed further 2. The strengths and points you could improve. 3. Justify where your design has changed during the development, including what has changed following feedback, and explain how you would improve the program further.' |
|
Hey so I tried making the program myself, but It has some problem and giving me some errors, can someone make it perfect for me?
#include<iostream>
using namespace std;
void my_Currency_converter(float , char , char , float );
int main()
{
float amount, rupee, pound, dollar;
char current_currency, new_currency;
float currency_exchange_Rate;
cout<<'Enter value'<<endl;
cin>>amount;
cout<<'enter R, P, or D'<<endl;
cin>>current_currency;
cout<<'enter output R, P, or D'<<endl;
cin>>new_currency;
if(current_currency'R')
{
switch(new_currency)
{
case'P':
{
currency_exchange_Rate=150;
break;
}
case'D':
{
currency_exchange_Rate=100;
break;
}
}
}
else if(current_currency'P')
{
switch(new_currency)
{
case'R':
{
currency_exchange_Rate=1/100;
break;
}
case'D':
{
currency_exchange_Rate=15/11;
break;
}
}
}
else if(current_currency'D')
{
switch(new_currency)
{
case'R':
{
currency_exchange_Rate=1/150;
break;
}
case'P':
{
currency_exchange_Rate=11/15;
break;
}
}
my_Currency_converter(amount,current_currency,new_currency,currency_exchange_Rate);
}
void my_Currency_converter(float val, char cur, char new, float rate)
{
val=val*rate;
cout<<val<<endl;
}
Dev C Currency Converter Pdf
Prerequisites: Introduction to tkinter Get the real time currency exchange rate Python offers multiple options for developing GUI (Graphical User Interface). Out of all the GUI methods, tkinter is the most commonly used method. C currency converter. On a certain day the British pound was equivalent to $1.467 U.S., the French franc was $0.172, the German deutschmark was $0.584, and the. C Printing data in tabular form using setw Write a program that generates the following output: 1990 135 1991 7290 1992 16200 Use a single cout st. Jul 01, 2003 Write a C program to calculate the change converter. Take input from the user for amount due and currency note. You are required to give back the balance amount in the least denomination (i.e. Least amount of currency to be returned). The program must be able to calculate in dollars, quarter, dime, nickel and pennies. Example Amount Due = $25.52.