Posts
 
Reputation
Joined
Last Seen
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
30% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
2
Posts with Downvotes
1
Downvoting Members
2
2 Commented Posts
0 Endorsements
Ranked #72.7K
Ranked #4K
~688 People Reached
Favorite Forums
Favorite Tags
c++ x 2
Member Avatar for Sherry.K

Suppose your $1,000 is earning interest at 4% per year. How many years you need to double your money? Write a program to calculate the number of years!

Member Avatar for VernonDozier
-4
594
Member Avatar for BlueZephyr

Hey everytime I run this it outputs the else of neither no matter what I enter. And I checked my conditions and the logic seems right but maybe I'm wrong. Help please! [CODE]#include <iostream> #include <cmath> using namespace std; int main(){ int n1, n2, n3; cout<<"Enter the three sides of …

Member Avatar for BlueZephyr
0
94