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
How do shell structures work?
Write a program to implement queue.
Why pointers are used?
write a program to reverse a every alternetive words in a string in a place. EX: Input is "this is the line of text" Output should be "shit is eht line fo text" Please any one tell me code for that.
Explain what happens if you free a pointer twice?
Differentiate between the = symbol and == symbol?
What is an operator?
in ‘C’ language for Matrix Multiplication fails” Introspect the causes for its failure and write down the possible reasons for its failure.
Explain what is the benefit of using enum to declare a constant?
What are actual arguments?
cavium networks written test pattern ..
What is malloc return c?
Which is an example of a structural homology?
Write a program for Overriding.
What is C language ?