subject

Define a predicate oddmultof3/1 that determines whether an integer is an odd multipleof 3. a user should be able to enter the predicate with an integer, e. g. oddmultof3(42)and evaluate to either true or false. if the given parameter is not an integer, yourpredicate should display the message "error: the given parameter is not aninteger".example: ? - oddmultof3(171). true? - oddmultof3(100). false? - oddmultof3(12). false? - oddmultof3(4.2). error: the given parameter is not an integer? - oddmultof3(-9). true

ansver
Answers: 1

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 01:50, divine134
A.) generate scaffolding to create database for your application. develop all the entities identified in assignment #2. add any additional that may be identified later. b.) add data validation rules to the models that are appropriate for your application and data. c.) create links for each scaffold in the header section. part 2: application updates [30 points] a.) add two additional views to the "home" controller you created in assignment #1. b.) the two views should be named as “privacy" and "". c.) link the two newly created views in the footer section. hint: you would need to modify the “home" controller definition and create “privacy. html. erb" and “.html. erb" files in appropriate locations.
Answers: 3
image
Computers and Technology, 22.06.2019 18:30, Angelanova69134
Technician a says that a shop towel should never be used to clean around the flange area before replacing an automatic transmission filter. technician b says that a dimpled transmission fluid pan can be repaired. who is right
Answers: 3
image
Computers and Technology, 24.06.2019 05:30, lexie2751
How do i get rid of my member ship for
Answers: 2
image
Computers and Technology, 24.06.2019 13:00, brusawerin5969
Refer to the figure and match the theorem that supports the statement.1.if chords are =, then arcs are =.if bc = de, then arc bc = arc de2.if arcs are =, then chords are =.if arc bc = arc de, then bc = de3.diameters perpen
Answers: 3
You know the right answer?
Define a predicate oddmultof3/1 that determines whether an integer is an odd multipleof 3. a user sh...

Questions in other subjects: