× Didn't find what you were looking for? Ask a question
Top Posters
Since Sunday
New Topic  
ovrpaid ovrpaid
wrote...
Posts: 285
Rep: 0 0
5 years ago
What will be displayed after code corresponding to the following pseudocode is run?
      Main
         Declare A As Float
         Declare B As Float
         Set A = 4
         Set B = 20
         Call Math(A, B)
         Write B + “ divided by “ + A + “ = “ + B/A
      End Program
      Subprogram Math(Float Num1 As Ref, Float Num2)
         Set Num1 = 5
         Set Num2 = 25
      End Subprogram

a.    20 divided by 4 = 5   b.     20 divided by 5 = 4
c.    25 divided by 5 = 5   d.    25 divided by 4 = 6.25
Textbook 
Prelude to Programming

Prelude to Programming


Edition: 6th
Authors:
Read 40 times
1 Reply
Replies
Answer verified by a subject expert
godinggoding
wrote...
Posts: 267
Rep: 5 0
5 years ago
Sign in or Sign up in seconds to unlock everything for free
More solutions for this book are available here
1

Related Topics

ovrpaid Author
wrote...

5 years ago
Thanks
wrote...

Yesterday
This site is awesome
wrote...

2 hours ago
Helped a lot
New Topic      
Explore
Post your homework questions and get free online help from our incredible volunteers
  1251 People Browsing
Related Images
  
 128
  
 23
  
 348
Your Opinion
Which industry do you think artificial intelligence (AI) will impact the most?
Votes: 352

Previous poll results: Who's your favorite biologist?