Hello i am priya...i am from india n i have accomplished MCA...I know many programming languages n love C language
Hi priya i would like to learn how arrays and characters are used in c programming. And of course with an example
hello priya....m new to d programming world..so cn u kindly help me wth c-programming... n whr cn i dwld buk on c 4 free
hi. can u help me.make a program that takes a single integer as an arguments and write out the digit of that integer as a word.
many indians are good at programming languages... im just sharing my thoughts.. haha im from philppines :pleased::pleased::pleased:
hi simply priya and other members .. can u help w/ this one ? Write a C program that creates customers’ bills for a carpet company when the following information is given: A. The length and the width of the carpet in feet B. The carpet price per square foot C. The percent of discount for each customer The Labor cost is fixed at $0.35 per square foot. It is to be defined as constant. The tax rate is 8.5% applied after the discount. It is also to be defined as a constant. The input data consist of a set of three integers representing the length and width of the room to be carpeted, the percentage of the discount the owner gives to a customer, and a real number representing the unit price of the carpet. The program is to prompt the user for this input as shown below. (Colored numbers are typical responses.) Length of room (feet)? 30 Width of room (feet)? 18 Customer discount (percentage)? 9 Cost per square foot (xxx.xx)? 8.32 The Output is shown below. Be careful to align the decimal points. Measurements Length XXX ft Width XXX ft Area XXX square ft Charges DESCRIPTION COST/SQ.FT. CHARGE ------------------- ------------------ ------------- Carpet XXX.XX $XXXX.XX Labor 0.35 XXXX.XX ------------------------ INSTALLED PRICE $XXXX.XX Discount XX% XXXX.XX ---------------- SUBTOTAL $XXXX.XX Tax XXXX.XX TOTAL $XXXX.XX The program’s design should use main and at least the six functions described below: a. Read data from the keyboard. This function is to use addresses to read all data and place them in the calling function’s variables. b. Calculate values. This function calls three subfunctions. Each function is to use addresses to store their results. • Calculate the installed price. This function calculates area, carpet cost, labor cost, and installed price. The installed price is the cost of the carpet and the cost of the labor. • Calculate the subtotal. This function calculates the discount and subtotal. • Calculate the total price with the discount and tax. This function calculates the tax and the total price. c. Print the result. Use two subfunctions to print the results: one to print the results: one to print the measurements, and one to print the charges. Test your program with the test data shown in table 4-3. Test Length Width Discount Cost 1 23 13 12 $14.20 2 35 8 0 $8.00 3 14 11 10 $22.35