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)
A programming language acts as a translator between you and the computer. Rather than learning the computer's native language (known as machine language), you can use a programming language to instruct the computer in a way that is easier to learn and understand.
Answer:
Checks if it is a multiple of 3 and 5
Explanation:
Its an if statement using modulus division to check for a remainder. It checks if a number is a multiple of 3 AND 5. (&& and & both mean and in Java).
If the remainder of both is 0 then that means the mystery number is a multiple of both 3 and 5.
The answer is C Excel. Excel allows you to make spreadsheets.
Hope this helps :-)