Posts
 
Reputation
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 #107.41K
~89 People Reached
Favorite Forums
Favorite Tags
c++ x 1
Member Avatar for melodious_lily

I have this problem... Ive gotten the codes however, i cant seems to get the output correctly.. This is my program: [code=cplusplus] int n; cin>>n; //reading in value of n if (n==1) { cout<<n; //if n=1, print out 1 } else if (n%2) { n = 3*n + 1; //if …

Member Avatar for sallyitzme
0
89