#include<stdio.h>
main()
{
float n;
int sum;
printf("Enter the value in decimal ");
scanf("%f",&n);
sum = 100 * n;
printf(" \nThe paise is %d.", sum);
getch();
return 0;
}
Output :
Enter the value in decimal 15.95
The paise is 1595.
< A Collection Of Examples />
#include<stdio.h>
main()
{
float n;
int sum;
printf("Enter the value in decimal ");
scanf("%f",&n);
sum = 100 * n;
printf(" \nThe paise is %d.", sum);
getch();
return 0;
}
 Hi, I'm Moinuddin. I'm a Software Engineer at WIPRO working on Microsoft .NET Technology. I'm interested in a wide range of technology topics, mainly Microsoft including Windows Azure, WCF, WPF, Silverlight and any other cool technology that catches the eye.
Hi, I'm Moinuddin. I'm a Software Engineer at WIPRO working on Microsoft .NET Technology. I'm interested in a wide range of technology topics, mainly Microsoft including Windows Azure, WCF, WPF, Silverlight and any other cool technology that catches the eye.
0 comments:
Post a Comment