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.
Answer:
Input of printer - text
Output of Printer - text printed on paper
Input & output of digital Alexa - Voice/sound
Explanation:
Input for a printer is the text data entered into any of the file formats that can be printed.
Output of a printer is the text printed on a piece of paper.
Input of a digital assistant is in the form of voice
Output of a digital assistant in the form of sound
Answer:
A. DisplayPort ports
B. USB port adapters
D. VGA ports
Explanation:
Doug of Wonder Web would most likely use the following ports to demonstrate;
1. DisplayPort ports.
2. USB port adapters.
3. VGA ports.
The above mentioned computer components are related to graphical data representation and as such could be used to connect video compliant devices during a presentation.
The ExpressCard ports is an internal slot found on the motherboard of a computer and used for connecting various adapter cards.
The RJ-45 ports is the ethernet port for network connectivity while Audio jacks are computer components used mainly for sound and audio related functions such as recording and listening to music.