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

What is void main () in c?

1185


how logic is used

1953


How is a macro different from a function?

1155


When should a type cast be used?

999


Is it fine to write void main () or main () in c?

1013


Linked list is a Linear or non linear explain if linear how it working as a non linear data structures

2163


What is wrong with this initialization?

990


What is the process to create increment and decrement stamen in c?

1045


Explain how can you tell whether two strings are the same?

1000


What is the difference between void main and main in c?

1142


a character or group of characters that defines a register,or a part of storage a) memory b) byte c) address d) linear list

994


explain how do you use macro?

1139


What happens if header file is included twice?

1128


What is the significance of an algorithm to C programming?

1031


Explain about block scope in c?

1079