No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
10 Posted Topics
hey i was wondering if someone could help me with this problem. It deals with the hanoi puzzle and i did the code but the output isnt correct and ii cant figure out why can someone help? heres my code [code] #include<iostream> using namespace std; void towers_of_hanoi(int height, int from, …
cpp noob using your program, which tests for the integer input by the user, how you could test all the numbers from 1 to 10,000? I duno i was all curious about it too. :) Mina
Hey can someone help me, my program has to do with dates, and asks the user to input a date on or after 1/1/1800, take that date and compare these statistics to my birthday(1/20/84) If the year is a leapyear how many days the month in the dates have one …
i need help on a program that uses zenos series which calculates the sum of the first N terms of Zenos series, where N is what the user inputs. it should be a number 1 and 15 (inclusive). program should print n terms of the series seperated by + and …
hey, um i was wondering if anyone could help me with a program where if the user inputs a number no more than 5 digits and the program tells you how many times the number 2 appears in that number. i know that the modulus and division have to be …
hi , i had a problem with one of my programs im pretty sure everything is correct but when i run it it only asks me to input the last name but it would just print out the rest and not ask for any other input why is that? can …
[QUOTE=Dave Sinkula]Surely you can take a stab at the "write a prototype" part. You have been dumping homework and not showing an attempt to solve them yourself. Please read the [url=http://www.daniweb.com/techtalkforums/announcement8-2.html]Announcement[/url].[/QUOTE] why would you need to use width for this question?? couldnt you just reverse them without it? or is …
hey i need help understanding recursions :s could someone give me an example of a recursion and help with steps on how to change it to a for loop? for example for(int i; i <= 10; i++) how would i change this into a for loop? thanx in advance mina …
Hi, im lost and i need help writing a function gcd that returns the greatest common divisor of two integers and has to allow five sets of numbers to be input by the user. this is what i have so far where i put /* is where i need help …
hi im kind of confused about how to change a for loop into a while loop and how to change a recursive into a for loop and for loop into a recursive, i read books and searched online but it all seems confusing could somebody please simplify it for me? …
The End.
mina1984