Given a simple program designed to take inputs of integers
from 1-1000 and to output the factorial value of that
number, how would you test this program? You do not have
access to the code. Please be as specific as possible.
Answer Posted / arati pradhan
Input 1 --> Check the result
Input 500 --> Check the result
Input 999--> Check the result
Input 1000-->Check the result
| Is This Answer Correct ? | 7 Yes | 9 No |
Post New Answer View All Answers
What do you mean by vtable and vptr in c++?
Can notepad ++ run c++?
What is the difference between new() and malloc()?
What are files in c++?
What is the difference between a reference and a pointer?
What is code reusability in c++?
How delete [] is different from delete?
What can I safely assume about the initial values of variables which are not explicitly initialized?
How many types of scopes are there in c++?
What is the difference between while and do while loop? Explain with examples.
How to defines the function in c++?
Is dev c++ a good compiler?
In which situation the program terminates before reaching the breakpoint set by the user at the beginning of the mainq method?
When to use “const” reference arguments in a function?
I want to write a C++ language program that: 1. Reads in the size of a square from the screen; 2. Prints a hollow square of that size out of “-“, “|” and blanks on screen; 3. Prints the same hollow square onto a text file. The program should work for squares of all side sizes between 1 and 20.