Search Results

Showing results 1 to 10 of 10
Search took 0.02 seconds.
Search: Posts Made By: C-+
Forum: C++ Dec 18th, 2007
Replies: 19
Views: 2,272
Posted By C-+
Thanks rajat. Good suggestion.
Forum: C++ Dec 17th, 2007
Replies: 19
Views: 2,272
Posted By C-+
Don't worry I just found why double is better. Thanks
Forum: C++ Dec 17th, 2007
Replies: 19
Views: 2,272
Posted By C-+
Thanks. But why do you say that double its better?
Forum: C++ Dec 17th, 2007
Replies: 19
Views: 2,272
Posted By C-+
Thanks Salem and neosomosis. Its working excellent.
Forum: C++ Dec 17th, 2007
Replies: 19
Views: 2,272
Posted By C-+
Thanks Salem it worked, but when the result is for example is 124 and then the program divides it by 10 the result is 12.0000. Why? The result should be 12.400
Forum: C++ Dec 17th, 2007
Replies: 19
Views: 2,272
Posted By C-+
Ok, Thank you very much Salem. Will try to find it on my program
Forum: C++ Dec 17th, 2007
Replies: 19
Views: 2,272
Posted By C-+
You could you make an example, I don't understand. Sorry but I just starting.

Thank You,

C-+
Forum: C++ Dec 17th, 2007
Replies: 19
Views: 2,272
Posted By C-+
#include <iostream>

using namespace std;

int profit_expenditure(int rent, int electricity, int telephone, int internet, int salary, int profit){

int expenditureprofit;

...
Forum: C++ Dec 17th, 2007
Replies: 19
Views: 2,272
Posted By C-+
I am having a problem trying to divide a number. So in my in my program I have a number and I want it to divide it by 10. The problem is that the result is going to be decimal. I run my program I put...
Forum: C++ Dec 15th, 2007
Replies: 10
Views: 1,591
Posted By C-+
You should use switch case instead of "if"
Showing results 1 to 10 of 10

 


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

©2003 - 2009 DaniWeb® LLC