Answer:
#include<stdio.h>
#include<stdlib.h>
int main(void){
int seedval;
scanf ("%d", &seedval);
srand(seedval);
printf("%d\n", rand()%10);
printf("%d\n", rand()%10);
return 0;
}
Explanation:
The given code is poorly formatted. So, I picked what is usable from the code to write the following lines of code:
#include<stdio.h>
#include<stdlib.h>
int main(void){
This line declares seedval as integer
int seedval;
This line gets user input for seedval
scanf ("%d", &seedval);
This line calls the srand function to generate random numbers
srand(seedval);
This prints a random number between 0 and 9
printf("%d\n", rand()%10);
This also prints a random number between 0 and 9
printf("%d\n", rand()%10);
return 0;
}
The two major SAS steps are data and proc.
SAS programming structure is based on two essential steps, Data and Proc.
1. The DATA step:
This involves collecting and uploading the essential data to the program memory. It is used to update, modify and edit the data in case of any errors once it has been added to a dataset. New datasets can be created from existing ones by updating, editing, and/or merging them. at the end of this step, SAS data sets are created.
2. The PROC step:
This step processes and analyses the data collected into datasets in the previous step. it is used to perform specific functions on the data. at the end of the proc step, a result or report is produced.
In a SAS code, each line of code should begin either with a DATA or PROC step.
<u>While the other options are incorrect because: </u>
<u />
- Analysis: analysis is done in the PROC step.
- Content: Data or content is collected in the DATA step.
- Stat: a stat function acquires the status information regarding a specific file. Functions are performed on the datasets in the PROC step.
- Run: This command is used to execute a code.
- Import: Datasets are created by importing data from other datasets and outside.
- Print: the report produced at the end of the PROC step can be printed as a hard copy.
You can learn more about SAS at
brainly.com/question/13615203
#SPJ4
They always move, so its hard catching them still, and if they are in action, you can't get a good picture because it will come out blurry. Hope this helps. Let me know if you need anything else.
Network layer is third layer of seven layers in the network technology. In network layer and physical data transmission been made through Ethernet or wireless, which Is connected to router and connect to other workstation or desktop or laptop.
<u>Explanation:</u>
On network layer connection is established, on success connection next layer is transport layer it is fourth layer of server layers.
Following error detection can be occurred
1. Accessing folder
2. Sometime immediate conflict on tcpip address
3. Sometime subnet mask different
4. Host different
5. Ping to workstation on tablet or laptops some dropping the packets
Transport layer always successful as end to end communication.