COMP 122 All Assignments COMP 122 All Assignments | Page 10
cin>> input;
while (input < 1)="">
{
cout< "you="" must="" enter="" a="" value="" greater="" than="" 0,="" try=""
again."="">
cin>> input;
}
if (input > 2)
{
for(int ; i < input;="" i++)="">
{
;
;
+ back2;
}
}
cout< "the="" value="" of="" fibonacci="" number="" "="">< input="">< "="" is="" "=""><
current="">
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)