Purchase Solution

Currency Conversion : key information

Not what you're looking for?

Ask Custom Question

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.

Basic Computer Terms

We use many basic terms like bit, pixel in our usual conversations about computers. Are we aware of what these mean? This little quiz is an attempt towards discovering that.

Word 2010: Tables

Have you never worked with Tables in Word 2010? Maybe it has been a while since you have used a Table in Word and you need to brush up on your skills. Several keywords and popular options are discussed as you go through this quiz.

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.

Word 2010: Table of Contents

Ever wondered where a Table of Contents in a Word document comes from? Maybe you need a refresher on the topic? This quiz will remind you of the keywords and options used when working with a T.O.C. in Word 2010.