Answer:
#import turtle
import turtle
# set screen
Screen = turtle.Turtle()
# decide colors
cir= ['red','green','blue','yellow','purple']
# decide pensize
turtle.pensize(4)
# Draw star pattern
turtle.penup()
turtle.setpos(-90,30)
turtle.pendown()
for i in range(5):
turtle.pencolor(cir[i])
turtle.forward(200)
turtle.right(144)
turtle.penup()
turtle.setpos(80,-140)
turtle.pendown()
# choose pen color
turtle.pencolor("Black")
# importing turtle module
import turtle
# number of sides
n = 10
# creating instance of turtle
pen = turtle.Turtle()
# loop to draw a side
for i in range(n):
# drawing side of
# length i*10
pen.forward(i * 10)
# changing direction of pen
# by 144 degree in clockwise
pen.right(144)
# closing the instance
turtle.done()
turtle.done()
Explanation:
Answer:
See Explaination
Explanation:
#include <iostream>
#include <string.h>
using namespace std;
char *mixem(char *s1, char *s2);
int main() {
cout << mixem("abc", "123") << endl;
cout << mixem("def", "456") << endl;
return 0;
}
char *mixem(char *s1, char *s2) {
char *result = new char[1 + strlen(s1) + strlen(s2)];
char *p1 = s1;
char *p2 = s2;
char *p = result;
while (*p1 || *p2) {
if (*p1) {
*p = *p1;
p1++;
p++;
}
if (*p2) {
*p = *p2;
p2++;
p++;
}
}
*p = '\0';
return result;
}
TCP is known to be a type of a connection-oriented protocol, while UDP is a connectionless protocol. TCP and UDP provide data transport between hosts.
- TCP and UDP are known for their speed, as TCP is slower and can retransmit lost data packets than UDP. UDP is said to be faster, simpler, and efficient protocol.
Data transport is simply known to be an the energy problem. It is the amount of energy needed to transport a bit from the closest neighbor.
Data Transport Service gives a reliable connection for moving large amounts of data at very fast speeds.
Learn more from
brainly.com/question/17695822
Answer:
You are probably blocked from that website or your schools program blocks that website from your device
Explanation: