Answer:
A, system software
Explanation:
that is answer an interpreter is a type of system software
Answer:
no output, it does not print any thing
Explanation:
if-else statement is used to execute the statement after checking the condition if the condition is true, it allows the program to execute the statement otherwise not.
in the code, define the variable with values x = 9, y = 8 and z = 7.
Then, if the statement checks the condition 9 > 9, the condition is false.
So, the program terminates the if statement and executes the next statement but there is no next statement.
the other if-else statement is within the if condition which already terminates.
Therefore, there is no output.
Answer:
Following are the program in the C++ Programming Language.
#include <iostream> // header file
using namespace std; // namespace
int main() // main function
{
int n=8; //variable declaration
for(int k=n;n>=0;n-=2) // iterating over the loop to print the format
{
int n1=n;
for(int j=n1;n1>=0;n1-=2)
{
cout<<n1<<" "; // display the format
}
cout<<endl; // next line
}
return 0;
}
<u>Output</u>:
8 6 4 2 0
6 4 2 0
4 2 0
2 0
0
Explanation:
Following are the description of the program.
- Set an integer type variable "n" and initialize in it to 8.
- Set two for loop, the first loop iterate from the variable "n" that is 8 to 0 with decrement by 2 and next for loop also iterate from 8 to 0 then, print the value of the variable "n1".
- Finally, we break line after the second for loop.