what is the ropeak??need only one Ans the 2nd Ans will be reported.
Answer:
Check the explanation
Explanation:
#include <stdio.h>
int dice1;
int dice2;
int sum;
int roll_die_twice(int dice1,int dice2){
if(sum==7){
printf("winner");
}
else if (sum==11){
printf("looser");
}
else if (sum!=7 && sum!=11)
{
printf("nor winner or looser");
}
}
int main()
{
roll_die_twice(2,7);
return 0;
}
The code screenshot and code output can be seen in the attached image below.
Answer:
A switch, unless it's busted, can be either on or off, closed or open. A switch that is “on” or “closed” passes electrical signal through it, while a switch that is “off” or “open” blocks that signal. Computer Scientists represent an “on” switch with a 1 and an “off” switch with a 0.
Explanation:
hope this helps!!