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
How do I get an accurate error status return from system on ms-dos?
Is register a keyword in c?
Why flag is used in c?
What is the role of && operator in a program code?
Describe the complexity of Binary search, Quicksort and various other sorting and searching techniques..
Is fortran still used in 2018?
Is main is a keyword in c?
List some of the dynamic data structures in C?
What is use of bit field?
Why c is known as a mother language?
What is null character in c?
What is sizeof return in c?
What is the difference between array and pointer?
What is nested structure?
Write the program with at least two functions to solve the following problem. The members of the board of a small university are considering voting for a pay increase for their 10 faculty members. They are considering a pay increase of 8%. Write a program that will prompt for and accept the current salary for each of the faculty members, then calculate and display their individual pay increases. At the end of the program, print the total faculty payroll before and after the pay increase, and the total pay increase involved.