I can help c beginners

Discussion in 'Meet and Greet' started by simply priya, Aug 23, 2011.

  1. simply priya

    simply priya New Member

    Joined:
    Aug 23, 2011
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    Hello i am priya...i am from india n i have accomplished MCA...I know many programming languages n love C language
     
  2. NewsBot

    NewsBot New Member

    Joined:
    Dec 2, 2008
    Messages:
    1,267
    Likes Received:
    2
    Trophy Points:
    0
    Hi Priya and welcome to the forum
     
  3. kpaulbishop

    kpaulbishop New Member

    Joined:
    Aug 30, 2011
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    0
    Hi priya i would like to learn how arrays and characters are used in c programming. And of course with an example
     
  4. alla.chaitanya

    alla.chaitanya New Member

    Joined:
    Sep 8, 2011
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    hi priya.can u help me in dotnet
     
  5. Jayde N

    Jayde N New Member

    Joined:
    Sep 9, 2011
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    Hi...! Please Provide with simple C program to multiply two matrices.. Thanx..:)
     
  6. Kamal Sethia

    Kamal Sethia New Member

    Joined:
    Sep 9, 2011
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    please give me the source code in C++ for "immigration consultancy database system"
     
  7. simply viren

    simply viren New Member

    Joined:
    Sep 10, 2011
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    it would be my favour to know how to start in c
     
  8. sunshine

    sunshine New Member

    Joined:
    Sep 12, 2011
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    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
     
  9. bingkat

    bingkat New Member

    Joined:
    Sep 13, 2011
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    0
    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.
     
  10. zachry00

    zachry00 New Member

    Joined:
    Jul 20, 2011
    Messages:
    30
    Likes Received:
    0
    Trophy Points:
    0
    many indians are good at programming languages...

    im just sharing my thoughts.. haha im from
    philppines :pleased::pleased::pleased:
     
  11. PLM

    PLM New Member

    Joined:
    Sep 26, 2011
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    0
    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
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice