#include <iostream>
#include <ctime>
#include <conio.h>
using namespace std;
bool player_won (int player, int computer)
{
switch (player)
{
case 1:
if (computer==2)
return false;
else return true;
case 2:
if (computer==3)
return false;
else return true;
case 3:
if (computer==1)
return false;
else return true;
}
}
main ()
{
cout<<"Rock, paper scissors by TheMaster999"<<endl;
srand (time(NULL));
while (true)
{
int computer=rand()%3+1;
int player;
cout<<"If u choose rock type 1, if u choose paper type 2, if u choose scissors type 3"<<endl;
cin>>player;
if (player==computer)
cout<<"Draw, play again"<<endl;
else if (player_won(player,computer))
{
cout<<"Congratulations, you won!"<<endl;
break;
}
else
{
cout<<"You lost :("<<endl;
break;
}
}
cout<<"Thank you, for playing my game"<<endl;
getch();
return 0;
}
It's both about mixing colors and the effect those colors can have, so I'd go with true.
Answer:
The correct answers are C and D. Popular operating systems include macOS and Microsoft Windows
.
Explanation:
An operating system is a program (usually a set of cooperating programs) that is loaded into memory after a computer is started and controls the hardware. It acts as a medium between the hardware and the computer user, with the aim of allowing the user to run programs, being responsible for the start and end of other programs, the control of hardware and the data input. Common operating systems are Microsoft Windows, Apple macOS and Linux.
Answer:
IPv6
Explanation:
Based on the information provided within the question it can be said that the newer communication protocol that is being mentioned is the IPv6. This is the Internet Protocol Version 6 and is the most recent version of the communication protocol system that is used to identify and route traffic across the internet and is even supported by Windows 10's as the latest technology.
Answer:
Cut means to another shot. Or cutting off part of a shot. Trim means to shorten the shot (and there are trim tools.)
Trimming usually refers to taking off either part of the beginning or end of a video clip. Sometimes this is referred to as trimming the top or tail (beginning or end)
Explanation:
~Hope this helps