Answer:
while(is_sunny=="n")
Explanation:
The loop keeps repeating itself until a certain condition is met.
Here while loop keeps executing until value of is_sunny is not equal to 'n'
When the value of is_sunny is not equal to n then the loop stops.
So lets explain this logic with a chunk of code:
#include <iostream> //to use input output functions
using namespace std; //to identify objects like cin cout
int main() { //start of main function
string is_sunny = "n"; //value of is_sunny is set to n
cout<<"Enter value of is_sunny: "; // prompts user to enter value of is_sunny
cin>>is_sunny; // reads value of is_sunny from user
while(is_sunny=="n") // keeps iterating until value of is_sunny is not equal to n
{ cout<<"keep executing until is_sunny is not equal to n"<<endl;//display this message with each iteration
cout<<"Enter value of is_sunny: "; //keeps prompting to enter is_sunny
cin>>is_sunny; } } //keeps reading value of is_sunny from user
Now if the user keeps entering "n" as value of is_sunny then the loop keeps repeating. When the user enters any string other than n then the loop breaks. The output of the program is attached.
Answer:
You could generate random numbers between the pixel amount of the height and width than place the dots at those random points
Explanation:
Do you need the code or can you make it using my "headstart"
Answer:
Physical layer is the first layer of OSI model. The detail about physical layer and its parts is given below in explanation section.
Explanation:
The physical layer is the lowest and first layer of the Open Systems Interconnection Model (OSI). The physical layer is used for the transmission of data in bit forms. For transmission of data between devices, it uses the transmission medium that is either wired or wireless.
In the wired cable the component of the psychical layer include cable and connectors that are implemented for carrying data from one place to another or simply to transmit data between two connected devices. The wireless transmission medium is used to transmit data in the form of electromagnetic signals for carrying data into a stream of bits. Over past advancements in networking technologies, rapid growth has been seen in wireless data transmission and Wi-Fi and Bluetooth communication are few names of it.
Components/Parts of Psychical Layer
In the physical layer, the hardware components used it in are the network interface cards, connectors and interfaces, intermediate devices, modems, and cables to facilitate the transmission of data between devices or from source to destination.
- The network interface card (NIC)
NIC is a component installed in the computer to connect it to any available devices over the network.
- Connectors and Interfaces
Connectors and interfaces are used to connect cables that are being used for transmission of data from one source to another. The decision to choose connectors and interfaces depends on the type of cable. Typical examples are RJ-45, RJ-11, V.35, HDMI, etc.
Cables are the physical components of the physical layer that carry optic or electromagnetic signals for transmission of data from source to destination in the network.
The intermediate devices are hubs and repeaters etc. The functions of these devices are to amplify or generate the signal at the intermediate point in a network.
I know of four,
Left-aligned
Center-aligned
right-aligned
justified
Answer: I think its true but I'm not like 100% sure sorry
Explanation: i dont know just seems right