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
Given two strings S1 and S2. Delete from S2 all those characters which occur in S1 also and finally create a clean S2 with the relevant characters deleted.
Write a program to compute the similarity between two strings - The program should get the two strings as input - Then it will output one single number which is the percentage of similarity between the two strings
Was 2000 a leap year?
How can you call a function, given its name as a string?
Where we use clrscr in c?
What is spark map function?
What are called c variables?
application attempts to perform an operation?
What is the purpose of macro in C language?
any function have arguments one or more OR not . it is compulsary a) any function compulsary have one or more arguments b) any function did not have arguments. It is not compulsary c) it is optional it is not compulsary d) none of the above
What is the role of this pointer?
in linking some of os executables are linking name some of them
What is a floating point in c?
What is the equivalent code of the following statement in WHILE LOOP format?
#include