Answer:
To avoid collision of transmitting frames.
Explanation:
CSMA/CA, carrier sense multiple access is a media access control protocol of wireless networks that allows for exclusive transmission of frames and avoidance of collision in the network. When a frame is not being sent, nodes listening for an idle channel gets their chance. It sends a request to send (RTS) message to the access point. If the request is granted, the access point sends a clear to send (CTS) message to the node, then the node can transmit its frame.
Many nodes on a wireless network are listening to transmit frames, when a frame is transmitting, the node has to wait for the access point to finish transmitting, so it sends a RTS message again to exclusively transmit a second frame.
Answer:
// program in C++.
// headers
#include <bits/stdc++.h>
using namespace std;
// main function
int main()
{
// Variable
int num;
cout << "Enter a number between 1 and 10: ";
// read input
cin >> num;
// validate input number
while(num<1||num>10)
{
// if input is wrong then print error message
cout<<"Wrong input!!Enter again:";
// read again
cin>>num;
}
// print output
cout << "The Roman numeral for "<<num<<" is:";
// switch
switch (num)
{
case 1:
// if input is 1
cout<<"I"<<endl;
// exit the switch
break;
case 2:
// if input is 2
cout<<"II"<<endl;
// exit the switch
break;
case 3:
// if input is 3
cout<<"III"<<endl;
// exit the switch
break;
case 4:
// if input is 4
cout<<"IV"<<endl;
// exit the switch
break;
case 5:
// if input is 5
cout<<"V"<<endl;
// exit the switch
break;
case 6:
// if input is 6
cout<<"VI"<<endl;
// exit the switch
break;
case 7:
// if input is 7
cout<<"VII"<<endl;
// exit the switch
break;
case 8:
// if input is 8
cout<<"VIII"<<endl;
// exit the switch
break;
case 9:
// if input is 9
cout<<"IX"<<endl;
// exit the switch
break;
case 10:
// if input is 10
cout<<"X"<<endl;
// exit the switch
break;
// default
default:
break;
}
return 0;
}
Explanation:
Read a number from usr and assign it to variable "num". If the input number is less than 1 or greater than 10 then ask again to enter a number until user enter a number between 1-10 only.Then with the help of switch() function print the equivalent Roman number.
Output:
Enter a number between 1 and 10: -5
Wrong input!!Enter again:12
Wrong input!!Enter again:6
The Roman numeral for 6 is:VI
Pros: Readability. Unique closing reserved words on compound
statements will enhance readability and flexibility of a language. When an
endwhile or an endif in a program is written by someone else, it is vivid which
block is ending. Using braces is much harder is sometimes much harder to read.
Cons: Writability. They have the disadvantage of writability
and thus, complicating the language by increasing the number of keywords. Use
of more of these reserved words mean less words available for the programmer.
4go but to create windows you'll need media creation tool don't worry it's free using that you can upgrade the same computer but still you'll need a product key but there's a way to bypass that using kmspico there's tutorials on YouTube so you have to click activate later Hope that helped
Spongebob Squarepants
Teen Titans GO
Teen Titans
Fosters Home For Imaginary Friends
The Grim Adventures of Billy and Mandy
Batman: The Animated Series
Tom and Jerry
Johnny Bravo
The Jetsons
The Flinstones
The Amazing World of Gumball
Steven Univers (My Favorite)
Codename: Kids Next Door
Adventure Time
Regular Show
The Fairly Odd Parents