Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

Why should I prototype a function?

1255


How can you convert integers to binary or hexadecimal?

1079


‎How to define structures? · ‎

1149


What are the types of macro formats?

1173


Can I use base-2 constants (something like 0b101010)? Is there a printf format for binary?

1067


Explain what is the difference between null and nul?

1217


What is pointers in c?

1172


What is wrong with this statement? Myname = 'robin';

1399


Difference between pass by reference and pass by value?

1217


Is exit(status) truly equivalent to returning the same status from main?

1123


Explain what will be the outcome of the following conditional statement if the value of variable s is 10?

1331


What are the uses of null pointers?

1205


Explain what standard functions are available to manipulate strings?

1134


A collection of data with a given structure for excepting storing and providing on demand data for multiple users a) linked list b) datastructer c) database d) preprocessor

1144


What are type modifiers in c?

1102