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 / 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 |
Post New Answer View All Answers
i have to apply for the rbi for the post of officers. i need to know abt the entrance questions whether it may be aps or techinical....
What are variables c?
What are multidimensional arrays?
What is conio h in c?
How can I read data from data files with particular formats?
What is void pointers in c?
Explain how do you print only part of a string?
Can we assign string to char pointer?
What is difference between structure and union with example?
What is meant by keywords in c?
Explain what is the difference between functions abs() and fabs()?
When should structures be passed by values or by references?
What is wrong with this program statement? void = 10;
How many types of operator or there in c?
write a program to generate address labels using structures?