Answer:
while(userNum>=1){
System.out.print(userNum/2+" ");
userNum--;
}
Explanation:
This is implemented in Java programming language. Below is a complete code which prompts a user for the number, receives and stores this number in the variable userNum.
<em>import java.util.Scanner;</em>
<em>public class TestClock {</em>
<em> public static void main(String[] args) {</em>
<em> Scanner in = new Scanner (System.in);</em>
<em> System.out.println("Enter the number");</em>
<em> int userNum = in.nextInt();</em>
<em> while(userNum>=1){</em>
<em> System.out.print(userNum/2+" ");</em>
<em> userNum--;</em>
<em> }</em>
<em> }</em>
<em>}</em>
The condition for the while statement is userNum>=1 and after each iteration we subtract 1 from the value of userNum until reaching 1 (Hence userNum>=1)
Answer: A.F.S- known as Andrew File System.
Explanation:
This is a distributed network file system created to handle large multiclient database. It support Information sharing on a large scale by reducing client-server communication.
Hi! I'm a Digital Marketer Intern at hotels.ng and I have a moderate knowledge on programming.
First, your question is not very explanatory. The term "view" is often used in back-end web development. A view is simply a Python function that takes a Web request and returns a Web response.
But I'm not sure this is what you want, so I'll just go ahead and write a python function involving class to return the total number of credits taken by a student.
I'll answer this question using Python.
class student(object):
credits = None
year = None
def num_credits(self):
#get credit value
self.credits = input("Enter the total number of credits: " )
pass
def getYear(self):
self.year = input("Enter current year: ")
pass
def tot_credits(self):
TotalCredits = tempTotalCredits + self.num_credits
print "Your total credits are :"+" "+str(TotalCredits)
Answer:
Broadcast message
Explanation:
The network models like OSI and TCP/IP suites have standard layers and protocols that governs the communication of end devices in a network.
The TCP/IP suite model has four layers which are application, transport, internet and network access layers. The network access does the work of both the data-link and physical layer of the OSI model.
When the packet is encapsulated in a data-link header and trailer, and needs to be sent to another unknown host, a broadcast message is sent to all the computers in the network to retrieve the remote host address for a unicast transmission to take place.