c++ computer surface area of an object

Please support our C++ advertiser: Intel Parallel Studio Home
Reply

Join Date: Jul 2009
Posts: 18
Reputation: jake43 is an unknown quantity at this point 
Solved Threads: 0
jake43 jake43 is offline Offline
Newbie Poster

c++ computer surface area of an object

 
0
  #1
Aug 16th, 2009
How to compute surface area of an object?

Write a program that computes the surface area of an object. The user will choose a circle, rectangle or triangle. The program will prompt the user for the values needed (radius, 2 sides or base & height), then show the answer.



Requirements:

€ include one function to describe what the program is for (to be shown to the user when the program first runs)

€ use one function for input the shape desired (‘c’ ‘r’ or ‘t’)

€ set up one function for each type of computation (one function for area of a circle, one function for area of a rectangle and one function for area of a square)

€ include one function for output of the answer
Reply With Quote Quick reply to this message  
Join Date: Sep 2004
Posts: 7,625
Reputation: Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute 
Solved Threads: 717
Team Colleague
Narue's Avatar
Narue Narue is offline Offline
Code Goddess

Re: c++ computer surface area of an object

 
3
  #2
Aug 16th, 2009
As much as we'd love to help you cheat (not really), **** off. We help people who are willing to put in some effort, not people looking for a quick and easy answer.
I'm here to prove you wrong.
Reply With Quote Quick reply to this message  
Join Date: Jan 2008
Posts: 2,052
Reputation: serkan sendur is a glorious beacon of light serkan sendur is a glorious beacon of light serkan sendur is a glorious beacon of light serkan sendur is a glorious beacon of light serkan sendur is a glorious beacon of light serkan sendur is a glorious beacon of light 
Solved Threads: 118
Featured Poster
serkan sendur serkan sendur is offline Offline
Postaholic

Re: c++ computer surface area of an object

 
1
  #3
Aug 19th, 2009
Originally Posted by Narue View Post
As much as we'd love to help you cheat (not really), **** off. We help people who are willing to put in some effort, not people looking for a quick and easy answer.
i had missed this style of yours.
Recently Kerry King - Slayer's lead guitar player, signed me his poster and we had a photo together. Since that day, i feel like i am a new person. I am inspired. And then i thought about having you sign some code snippet for me. Narue please this time prevent people from attacking my reputation points. If i can have a photo together with my favorite guitar player, why cant i have a photo with my favorite coder?? Think this way; if i have a photo with you, i will produce better code and help more people. Because of you my reputation points reset 3 times when it was above 100, this time i think i dont expect something crazy, so i hope it is going to remain intact.
Due to lack of freedom of speech, i no longer post on this website.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC