answersLogoWhite

0


Want this question answered?

Be notified when an answer is posted

Add your answer:

Earn +20 pts
Q: The description of what a program should do if the input data are invalid?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is input in TNSDL language?

In TNSDL (Temporal Numerical Stream Description Language), the "input" statement is used to specify the input streams of data that the program will operate on. These input streams can be temporal or non-temporal data sources such as sensors, files, or user input. The input statement helps define the data sources that will be processed by the TNSDL program.


What is legal input?

In a computer program, a legal input is something that can be put into a program and it will work. An illegal input may crash the program.


Which is not a way to input data into a program?

without understanding the program giving a input


How do you create a program that can input 100 names using flowchart?

create a program that can input 100 names


What is robust on java?

A robust program is a program that will accept junk input and not crash. Example: a program that accepts "pancakes" for a date input and pops up a error box or just uses a date input so that this does not happen is a robust program.


What is input -output bound program?

input output bound program is a program (or process in precise way), which spends most of time allocated to it for execution, on input/output devices and need very small CPU time for it.


What is meant by input stream?

An input stream is a character sequence device or buffer from which input can be gathered. The standard input stream is usually a keyboard, data file or the output stream from another program. The user of the program can normally decide where standard input may be redirected from when launching the program, typically defaulting to the keyboard.


When you input data in a loop within a program the input statement that proceeds the loop is what?

is called a priming input


How do you write a c plus plus program to display n congratulatory messages where n is a user input value?

#include<iostream> #include<sstream> int main() { unsigned num; while (true) { std::cout << "Enter a number: "; std::string input; std::cin >> input; std::stringstream ss; ss << input; if (ss>>num) break; std::cerr << "Invalid input.\n"; } for (int i=0; i<num; ++i) std::cout << "Well done!\n"; }


What is the biggest number you can write on Windows vistas calculator before you get Invalid input for function?

A 12 digit number.


How do you write a function in Turbo C that can run the program without rerunning the whole program?

The execution path of a program can only be affected by the program input. That is, if you change the input, you can alter the way the program behaves (just as changing the arguments to a function can alter the behaviour of the function). Typically you will alter the input via the command line, but you can also alter the input at any time during program execution. Redirecting input via the command line can be achieved by extracting the input from a file (via std::cin) or by implementing command line switches in your main function, or through a combination of the two.


Information a program gathers from the outside world?

Input