for example user gives input as " 20 or 20.0 or rs 20.0 or
20.00 or rs20 and so .. on " and the output should be
stored as " rs.20.00 " in a variable
Answer Posted / vignesh1988i
#include<stdio.h>
#include<conio.h>
void main()
{
float i;
printf("enter the value :");
scanf("%f",&i);
printf("the output is : %f",i);
getch();
}
thank u. please make ur question more clear
| Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
What does malloc () calloc () realloc () free () do?
using only #include
What is a header file?
Explain threaded binary trees?
What is the mean of function?
What is merge sort in c?
Write the program that calculates and prints the average of several integers. Assume that the last value read is sentinel 9999.
Explain what is a pragma?
Explain enumerated types.
What is variable in c example?
When should a type cast not be used?
What is the difference between exit() and _exit() function?
Explain what are multibyte characters?
What is an example of structure?
What is include directive in c?