Answer:
D, most likely thats what I was taught .
Answer:
The program in C++ is as follows:
#include <iostream>
using namespace std;
int main(){
int qty;
float discount = 0;
cout<<"Quantity: ";
cin>>qty;
int cost = qty * 100;
{
; }
cout<<"Cost: "<<cost - discount;
return 0;
}
Explanation:
This declares the quantity as integer
int qty;
This declares and initializes discount to 0
float discount = 0;
This prompts the user for quantity
cout<<"Quantity: ";
This gets input for quantity
cin>>qty;
This calculates the cost
int cost = qty * 100;
If cost is above 1000, a discount of 10% is calculated
{
; }
This prints the cost
cout<<"Cost: "<<cost - discount;
I'm guessing you mean the six external parts as in input and output devices
Here are the six external parts:
>Keyboard
>Mouse
>Monitor
>Speakers
>Printer
>Microphone or USB...I think you can choose either one as they are components outside of the computer/external/ -I/O devices
Very simple:
<span>10011110
1st Octet Value = 128
2nd </span>Octet Value = 0 (64)
3rd Octet Value = 0 (32)
4th Octet Value = 16
5th Octet Value = 8
6th Octet Value = 4
7th Octet Value = 2
8th Octet Value = 0 (1)
so we add 128+16+8+4+2=158 and there is your Answer
A personal computer is a computer designed to be used by one person at a time.