Joined
Last Seen
0 Reputation Points
Unknown Quality Score
No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
0 Endorsements
Ranked #72.8K
2 Posted Topics
Re: I know this is old, but I've figured this out. There are two things to keep in mind here: 1. n is the numbers of inputs (No more, no less) 2. All inputs will be between 0 and n-1 That means, in ascending order, it will literally be 0 to … | |
Re: Would something like this work? #include <iostream> using namespace std; const double DEARNESS = .35; const double HOUSING = .25; int main(){ double basicSalary; cout << "Enter Basic Salary:"; cin >> basicSalary; cout << "Basic Salary: " << basicSalary << endl << "Dearness Allowance: " << basicSalary*DEARNESS << endl << … |
The End.