Add to Favorites    Make Home Page 4073 Online  
 Language Categories  
 Our Services  

Home » Pascal Home » Pascal Projects Home » To Find The Coinage Of The Amount Entered.

A D V E R T I S E M E N T

Search Projects & Source Codes:

Title To Find The Coinage Of The Amount Entered.
Description
Category Pascal » Pascal Projects
Hits 367505
Code Select and Copy the Code
{ Description: To Find The Coinage Of The Amount Entered } { Take any integer as input and describe the coinage (e.g no. of 1000 rupees note, no. of 500 note, no. of 100 rupees ..... till 5 rupeesnote.} program COINAGE; var amount, thousand, five_hundred, hundred, fifty, ten, five : integer; begin amount:=0; write(' Enter a amount : '); readln(amount); writeln; writeln; writeln(' DISTRIBUTION OF MONEY i.e ',amount,' rupees '); writeln(' --------------------------------------'); writeln; thousand:=amount div 1000; amount:=amount - (thousand*1000); five_hundred:=amount div 500; amount:=amount - (five_hundred*500); hundred:=amount div 100; amount:=amount - (hundred*100); fifty:=amount div 50; amount:=amount - (fifty*50); ten:=amount div 10; amount:=amount - (ten*10); five:=amount div 5; amount:=amount - (five*5); writeln(' Thousand Rupee Note = ',thousand); writeln; writeln(' Five Hundred Rupee Note = ',five_hundred); writeln; writeln(' Hundred Rupee Note = ',hundred); writeln; writeln(' Fifty Rupee Note = ',fifty); writeln; writeln(' Ten Rupee Note = ',ten); writeln; writeln(' Five Rupee Note = ',five); writeln; writeln(' The remaining amount = ',amount,' rupees '); writeln; writeln(' --------------------------------------'); writeln; writeln(' THANK YOU'); readln; end.

Related Source Codes

Script Name Author
Calendar date to day number and back Nicky McLean
Matrix Multiple Cirruse Salehnasab
Function Power Recursive Cirruse Salehnasab
swim brian colston
tetris (Mini Project) mehdi farrokhzad
Macsi - space fighting game. Macsi PÚter
Recursive Monkey Puzzle Solution - Project Maxim C.L. Wrne
Maze Game Project In Pascal Mahmood
Excellent Rat in a Maze Program. VyomWorld
A car game. You have to drive the car in such a way that you dont strike a barrier on the road. VyomWorld
Student Database Information System. VyomWorld
Tic Tac Toe Game implemented in Pascal. VyomWorld
Game to Gain more blocks by drawing appropriate lines from correct places(dots). VyomWorld
Randomizes two 3x3 arrays and indicates the numbers whih are common in both the arrays otherwise an cross 'x' is shown instead. VyomWorld
Program that checks the space on drive a: and also gives a graphical representation of memory. VyomWorld

A D V E R T I S E M E N T




Google Groups Subscribe to SourceCodesWorld - Techies Talk
Email:

Free eBook - Interview Questions: Get over 1,000 Interview Questions in an eBook for free when you join JobsAssist. Just click on the button below to join JobsAssist and you will immediately receive the Free eBook with thousands of Interview Questions in an ebook when you join.

New! Click here to Add your Code!


ASP Home | C Home | C++ Home | COBOL Home | Java Home | Pascal Home
Source Codes Home Page

 Advertisements  

Google Search

Google

Source Codes World.com is a part of Vyom Network.

Vyom Network : Web Hosting | Dedicated Server | Free SMS, GRE, GMAT, MBA | Online Exams | Freshers Jobs | Software Downloads | Interview Questions | Jobs, Discussions | Placement Papers | Free eBooks | Free eBooks | Free Business Info | Interview Questions | Free Tutorials | Arabic, French, German | IAS Preparation | Jokes, Songs, Fun | Free Classifieds | Free Recipes | Free Downloads | Bangalore Info | Tech Solutions | Project Outsourcing, Web Hosting | GATE Preparation | MBA Preparation | SAP Info | Software Testing | Google Logo Maker | Freshers Jobs

Sitemap | Privacy Policy | Terms and Conditions | Important Websites
Copyright ©2003-2024 SourceCodesWorld.com, All Rights Reserved.
Page URL: http://www.sourcecodesworld.com/source/show.asp?ScriptId=167


Download Yahoo Messenger | Placement Papers | Free SMS | C Interview Questions | C++ Interview Questions | Quick2Host Review