Quality assurance testing plays a very crucial role in the process of software development. It saves money and time by spotting bugs and errors early in the software development life-cycle. Software that is newly developed may have inconsistencies, redundancies, and flaws; therefore, proper QA testing is mandatory.
They work in many different ways?
Answer:
Below are the program for the above question:
Explanation:
#include <stdio.h>//header file.
int main()//main function.
{
int value; //variable declaration.
printf("Enter a number to find its roman value: ");//render a message for the user.
scanf("%d",&value); //take a value from the user.
switch(value)//switch case starts
{
case 1:
printf("I");
break;
case 2:
printf("II");
break;
case 3:
printf("III");
break;
case 4:
printf("IV");
break;
case 5:
printf("V");
break;
case 6:
printf("VI");
break;
case 7:
printf("VII");
break;
case 8:
printf("VIII");
break;
case 9:
printf("IX");
break;
case 10:
printf("X");
break;
}//switch case ends.
return 0;//return statement.
}
Output:
- If the user inputs as 4, then the output is "IV".
Code Explantion :
- The above code is in c language, in which the scanf function is used to take the inputs from the user.
- Then the value match from the switch case and display the suitable result.
- And the user get the roman value from the user.
If an error occurs within a program, each of the numeric functions would return a <u>null value</u>.
<h3>What is a function?</h3>
A function refers to a named portion of a block of executable code that is written to perform a specific task, which is usually a single, related action.
Thus, a function comprises a group of related statements (block of code) that would only run and returns a data when it is called.
In Computer programming, if an error occurs within a program, each of the numeric functions would return a <u>null value</u>.
Read more on a function here: brainly.com/question/19181382
#SPJ12
This term is called a "Cookie".