this is my first thread
i need a function in C+ that return 1000000*1000000 integer given by the user in reverse but without using arrays,lists,pointers,.....
only i can use 2 or 3 variables
thanx 4 help
cmoodc
0
Newbie Poster
Recommended Answers
Jump to PostHuh? 1000000*1000000 is a number that is much larger than an integer can hold. Otherwise your question doesn' make much sense to me.
Jump to Postmaybe an example will help explain what you mean. If I enter 15 what is the expected output?
All 6 Replies
Ancient Dragon
5,243
Achieved Level 70
Team Colleague
Featured Poster
cmoodc
0
Newbie Poster
Ancient Dragon
5,243
Achieved Level 70
Team Colleague
Featured Poster
cmoodc
0
Newbie Poster
Ancient Dragon
5,243
Achieved Level 70
Team Colleague
Featured Poster
cmoodc
0
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.