int,; int; cout < " enter ="" which ="" number ="" in ="" the ="" fibonacci ="" number ="" sequence ="" you ="" want ="" to ="" find."="">< endl;=""> cout < " the ="" first ="" and ="" second ="" fibonacci ="" numbers ="" are ="" 1."="">< endl;=""> cin >> input; while( input < 1)=""> { cout < " you ="" must ="" enter ="" a ="" value ="" greater ="" than ="" 0,="" try ="" again."="">< endl;=""> cin >> input; } if( input > 2) { for( int; i < input;="" i ++)=""> {;; + back2; } } cout < " the ="" value ="" of ="" fibonacci ="" number ="" "="">< input ="">< "="" is ="" "="">< current ="">< endl;=""> cin. ignore( 2); return 0; }
Part 2 – Black Box Testing
A customer has requested a program be developed to meet the following criterion: 1. The program needs to convert from celcius temperatures to fahrenheit temperatures.
2. The user should be able to enter temperatures containing fractional degrees( ie. 12.3)
3. The converted temperatures should be accurate to within 1 / 10th of a degree.
4. The user should be able to enter the number of temperatures to be converted up to a maximum of 10.
5. The output should be tabular with each row including the input and converted temperature.