Program to Convert Rupess into Paisa using c language
Program Convert Rupess into Paisa using c language
Simple program to learn c language ,we are implement logic that is doing a multiply with 100 to given value and produce result.
#include<stdio.h>
#include<conio.h>
int main()
{
float rs; //define variable for rupees
int ps; //define variable for paisa
clrscr();
printf("\n\n kindly Enter value of rupees to convert into paisa : ");
scanf("%f",&rs);
ps=rs*100;
printf("\n Result of Paisa of given rupees is %d",ps);
getch();
return 0;
}
In above program, the you can enter the amount in Rupees.
The program then multiplies the Rupees by 100 to convert it into Paisa. Finally, it is printing the original amount in Rupees and the amount is equal to amount in Paisa.