Answer:
#include <iostream>
using namespace std;
void PrintPopcornTime (int bagOunces){
if (bagOunces < 2){
cout << "Too small"<<endl;
}
else if (bagOunces > 10){
cout << "Too large"<<endl;
}
else{
cout << bagOunces*6 <<" seconds"<<endl;
}
}
int main(){
PrintPopcornTime(7);
return 0;
}
Explanation:
Create a function called PrintPopcornTime that takes one parameter, bagOunces
Check the bagOunces using if-else structure. If it is smaller than 2, print "Too small". If it is greater than 10, print "Too large". Otherwise, calculate and print 6*bagOunces followed by " seconds".
Call the function in the main function with parameter 7. Since 7 is not smaller than 2 or not greater than 10, "42 seconds" will be printed.
Answer:
The client
Explanation:
On a client/server network, THE CLIENT computer initiates the process of assigning an IP address through DHCP. This is because "The Client" computer will serve as the Domain controller in which other computers of the network can find. Hence, The Client computer initiates the process of assigning IP addresses through DHCP to achieve this.
Though, in some case. A user can manually assign the IP address to computer if it is not through DHCP
Answer:
Explanation:
✓ computer can be used Interactive Learning apps, whereby students can share knowledge
✓Access to Information on the go: computer can be searched when educational information is needed
✓Virtual Classrooms : Incase of online classroom computer can be of help where both teacher student can meet online
✓Data processing and presentation ; computer can be used by both teacher and student in processing of data's.
✓Computer Literacy Education : for Literacy Education, computer can be used in training students to become computer literate.
Widget is an item that appears in a programs graphical user interface.