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
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / aditya
#include<stdio.h>
#include<conio.h>
void main()
{
string ss;
printf("enter the value :");
scanf("%s",&ss);
printf("the output is : %s",ss);
getch();
}
| Is This Answer Correct ? | 0 Yes | 0 No |
What are structure types in C?
write a program to generate 1st n fibonacci prime number
What is a segmentation fault?
What is character constants?
What is the difference between pure virtual function and virtual function?
How would you use the functions fseek(), freed(), fwrite() and ftell()?
0 Answers Aspire, Infogain, TISL,
What's the difference between calloc() and malloc()?
Write a c program to sort six numbers and find the largest one by using the ladder of if-else? plz do help me
progrem to generate the following series 1 12 123 1234 12345
What is the difference between functions abs() and fabs()?
What is pointers in c with example?
What is the need of structure in c?