Currency Conversion : key information
Not what you're looking for?
Write a C program that displays a title, "Currency Conversion", and then writes the names of five currencies and their equivalents to a US dollar. The conversions are hard coded equations. Insert comments in the program to document the program internally.
Purchase this Solution
Solution Summary
Write a C program that displays a title, "Currency Conversion", and then writes the names of five currencies and their equivalents to a US dollar. The conversions are hard coded equations. Insert comments in the program to document the program internally.
Solution Preview
Dear Student please find your solution pasted below.
/*program for currency conversion. You input the amount and type of currency and the program outputs the equivalent amount in USD. */
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
main (void)
{
/* Data Decleration and initialization*/
int Curr_type;
float For_curr=0.0;
float Equ_curr=0.0;
printf("nCURRENCY CONVERTERn");
printf("nEnter the type ...
Purchase this Solution
Free BrainMass Quizzes
Basic Networking Questions
This quiz consists of some basic networking questions.
Excel Introductory Quiz
This quiz tests your knowledge of basics of MS-Excel.
Inserting and deleting in a linked list
This quiz tests your understanding of how to insert and delete elements in a linked list. Understanding of the use of linked lists, and the related performance aspects, is an important fundamental skill of computer science data structures.
Java loops
This quiz checks your knowledge of for and while loops in Java. For and while loops are essential building blocks for all Java programs. Having a solid understanding of these constructs is critical for success in programming Java.
C++ Operators
This quiz tests a student's knowledge about C++ operators.