#include<stdio.h>
int main()
{
int one , five , ten , total ;
printf(" Enter the total number of ten rs coins : ");
scanf(" %d",&ten);
printf(" Enter the total number of ten rs coins : ");
scanf(" %d",&five);
printf(" Enter the total number of one re coins : ");
scanf(" %d",&one);
total = (10*ten) + (5*five) + (1*one);
printf(" The total amount : %d ", total);
return 0;
}
OUTPUT:
Enter the total number of ten rs coins : 1
Enter the total number of ten rs coins : 4
Enter the total number of ten rs coins : 10
Enter the total number of ten rs coins : 40
Follow
Me On Social Media :-
INSTA photography page :- https://www.instagram.com/photo_mania_hub/
Twitter link : - https://twitter.com/ApurbaKhanra199
Facebook page link (Crazy Coders) :-https://www.facebook.com/codercrazy/?modal=admin_todo_tour
Insta photography link :- https://www.instagram.com/photo_mania_hub/
Facebook link :- https://www.facebook.com/profile.php?id=100009747586288
For tech related videos visit my other website :- https://apurbatechinfo.blogspot.com/
0 Comments