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
Answers were Sorted based on User's Feedback
Answer / vignesh1988i
#include<stdio.h>
#include<conio.h>
void main()
{
float i;
printf("enter the value :");
scanf("%f",&i);
printf("the output is : %f",i);
getch();
}
thank u. please make ur question more clear
Is This Answer Correct ? | 2 Yes | 1 No |
Answer / 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 |
What will be the outcome of the following conditional statement if the value of variable s is 10?
wat is the meaning of c?
What is the difference between int main and void main?
how to find sum of 5 digits in C?
Function which gives a pointer to a binary trees const an integer value at each code, return function of all the nodes in binary tree.?
Why is c called c?
Tell me the use of bit field in c language?
#define min((a),(b)) ((a)<(b))?(a):(b) main() { int i=0,a[20],*ptr; ptr=a; while(min(ptr++,&a[9])<&a[8]) i=i+1; printf("i=%d\n",i);}
What is the output of following program ? int main() { int x = 5; printf("%d %d %d\n", x, x << 2, x >> 2); }
what is the diffrenet bettwen HTTP and internet protocol
Write a program to print a (*)pattern programming (A to Z) in capital in one programming ?
Write an algorithm for implementing insertion and deletion operations in a singly linked list using arrays ?