Author Topic: Let a,b be two positive integers, which of the following options correctly relat  (Read 197 times)

Offline mechanic

  • Engineer
  • Hero Engineer
  • *****
  • Posts: 2275
    • View Profile
    • Engineering Forum
Advertisement
Question: Let a,b be two positive integers, which of the following options correctly relates / and %?

Options are:


A. b = {a/b}*b + a%b
B. a = {a/b}*b + a%b
C. b = {a%b}*b + a/b
D. a = {a%b}*b + a/b

Correct answer is:

B. a = {a/b}*b + a%b


Engineering Forum



 

With Quick-Reply you can write a post when viewing a topic without loading a new page. You can still use bulletin board code and smileys as you would in a normal post.

Warning: this topic has not been posted in for at least 120 days.
Unless you're sure you want to reply, please consider starting a new topic.

Name: Email:
Verification:
Type the letters shown in the picture
Listen to the letters / Request another image
Type the letters shown in the picture:
type: "mehran" without quotes: