Im not really in the major of c++ or I.T i need your help
The Fibonacci Sequence it must lead the sequence 0,1,1,2,3,5,8,13,21....
A program that will generate a Fibonacci of a specified length given the first 2 numbers in the sequence. First input an integer N that specifies the length of the sequence that will be generated(including the first two). This shall be restricted from 2 to 100.
This is then followed by two integers A and B (not necessarily on the same line), first and second numbers in the sequence.
Both A and B are from 0 to 100,inclusive. B should be greater than A.
THe program shall validate all input values that displays the ff. "invalid length" "First number out bounds" "Second number out bounds" "second number should be greater than the first" and require re-entry of the 3 integer input..thanks guys! :D
kenn1213 0 Newbie Poster
NicAx64 76 Posting Pro
kenn1213 0 Newbie Poster
Fbody 682 Posting Maven Featured Poster
kenn1213 0 Newbie Poster
Fbody 682 Posting Maven Featured Poster
kenn1213 0 Newbie Poster
Fbody 682 Posting Maven Featured Poster
kenn1213 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.