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
diff between exptected result and requirement?
How can I list all of the predefined identifiers?
Is return a keyword in c?
Why is c so popular?
main use of recursive function a) processing speed high b) reduce program length/reduce repeated statements c) if you do not, use iterative methods like, for, while or do-while d) all the above
Is c dynamically typed?
in linking some of os executables are linking name some of them
using for loop sum 2 number of any 4 digit number in c language
c program to compute AREA under integral
Does sprintf put null character?
what is uses of .net
What is the behavioral difference when include header file in double quotes (“”) and angular braces (<>)?
List the different types of c tokens?
What is the correct code to have following output in c using nested for loop?
What is volatile variable how do you declare it?