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
What is void main () in c?
how logic is used
How is a macro different from a function?
When should a type cast be used?
Is it fine to write void main () or main () in c?
Linked list is a Linear or non linear explain if linear how it working as a non linear data structures
What is wrong with this initialization?
What is the process to create increment and decrement stamen in c?
Explain how can you tell whether two strings are the same?
What is the difference between void main and main in c?
a character or group of characters that defines a register,or a part of storage a) memory b) byte c) address d) linear list
explain how do you use macro?
What happens if header file is included twice?
What is the significance of an algorithm to C programming?
Explain about block scope in c?