#include <stdio.h>
#include <conio.h>
#include <iostream>
using namespace std;
int main ( )
{
int ammount,ten,fifty,hunderd;
cout<<" Program to show total number of notes that \n\n";
cout<<" Cashier will give to withdrawal \n";
cout<<" Enter ammount to be with drawn : \n";
cin>> ammount;
ten=ammount/10;
fifty=ammount/50;
hunderd=ammount/100;
printf("The Cashier will give you\n %d Notes of Tens \n OR \n %d Notes of Fifties \n OR \n %d Notes of Hunderds",ten,fifty,hunderd);
return 0;
}
No comments:
Post a Comment
Must drop your comments about post.