I found this loop. But it ends like this: After the loop terminates, <span>it prints out the sum of all the even integers read. Declare any variables that are needed.</span>
<span>int sum=0;
int num=1;
while(num > 0){
cin >> num;
if ((num % 2)==0 & (num>0)){
sum+=num;
}
}
cout << sum;
I'm not familiar with coding but I think you can work on this loop and edit it according to your requirement.</span>
The answer to this question would be client.
Client is the computer that most people use. When you browsing a web using the internet, your computer will ask for data from the web server and the data will be arranged into graphical picture or words what you see on your monitor. Server is the computer that gives data the client ask for.
A protocol is a set of rules that governs the communications between computers on a network.
1. HTTP or HTTPs. This stands for Hypertext Transfer Protocol or Hypertext Transfer Protocol (secure).
2. FTP (File Transfer Protocol)
3. Email Protocols (POP3, IMAP, SMTP)
4. TCP(Transmission Control Protocol) and UDP(User Datagram Protocol)
Hoped that helped
Answer & Explanation:
//written in java
public class Main {
private static void printOdd(int[] list) {
for (int value : list) {
if (value % 2 == 1) {
System.out.println(value);
}
}
}
public static void main(String[] args) {
printOdd(new int[]{5, 6, 2, 3, 11, 4, 7});
}
}
the reason HTML seems to work even if it has syntax errors is due to browser having built in ways to parse the code meaning it will still show but most likely look way different then you would want.
the code may turn pink due to syntax errors