• 0

Pseudocode help.


Question

Hi everyone, I'm really struggling with some pseudocode problems, I really can't figure this stuff out for the life of me. I'm the type of person who has to have this kind of stuff worked out for me step by step or otherwise my brain will just shut down. So I was wondering if anyone could help me out with this problem or explain it to me a little more. 

 

User asks you to develop a program that calculates and then prints interest earned on a bank

balance. Program should print interest earned for the same balance when interest is accumulated

annually, semiannually and quarterly.

Interest earned yearly=balance * rate /100 for annual

Interest earned semiannually =balance*rate/2/100 for semi annual

Interest earned quarterly= balance*rate/4/100 for quarterly

 

Thanks in advance!

Link to comment
https://www.neowin.net/forum/topic/1386856-pseudocode-help/
Share on other sites

2 answers to this question

Recommended Posts

  • 0
  On 09/09/2019 at 23:30, QLC said:

Hi everyone, I'm really struggling with some pseudocode problems, I really can't figure this stuff out for the life of me. I'm the type of person who has to have this kind of stuff worked out for me step by step or otherwise my brain will just shut down. So I was wondering if anyone could help me out with this problem or explain it to me a little more. 

 

User asks you to develop a program that calculates and then prints interest earned on a bank

balance. Program should print interest earned for the same balance when interest is accumulated

annually, semiannually and quarterly.

Interest earned yearly=balance * rate /100 for annual

Interest earned semiannually =balance*rate/2/100 for semi annual

Interest earned quarterly= balance*rate/4/100 for quarterly

 

Thanks in advance!

Expand  

As you said. Break it down step by step. 
what will the user first see? How will they interact? How will the program get it’s data? 
 

Once you determine that, treat the user input as a module. Once you have the input, do the math on it and display back to user as output. 
 

Now write that in pseudocode. 

  • Like 1
  • 0
  On 09/09/2019 at 23:30, 00000000Anon said:

Hi everyone, I'm really struggling with some pseudocode problems, I really can't figure this stuff out for the life of me. I'm the type of person who has to have this kind of stuff worked out for me step by step or otherwise my brain will just shut down. So I was wondering if anyone could help me out with this problem or explain it to me a little more. 

 

User asks you to develop a program that calculates and then prints interest earned on a bank

balance. Program should print interest earned for the same balance when interest is accumulated

annually, semiannually and quarterly.

Interest earned yearly=balance * rate /100 for annual

Interest earned semiannually =balance*rate/2/100 for semi annual

Interest earned quarterly= balance*rate/4/100 for quarterly

 

Thanks in advance!

Expand  

Start program

   Request User's ID

   Request User's Password

   Login to bank

   Show user their balance

   Show user option to pick interest Criteria, A,B or C

     'A' will be interest yearly

     'b' will be interest semi yearly

     'C' will be quarter yearly

   Get inputted Choice

   Show calculated Result to User

End program

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • Patch My PC - Home Updater 5.2.3.0 by Razvan Serea Patch My PC Free is a reliable tool which can quickly check your PC for outdated software. The supported third-party programs include a large number of widely-used applications, including Adobe Reader, Mozilla Firefox, Java, 7-Zip, BleachBit, Google Chrome and many more. Patch My PC Home updater features: Updates over 500 common apps check including portable apps Ability to cache updates for use on multiple machines No bloatware during installations Applications install/update silently by default no install wizard needed Optionally, disable silent install to perform a manual custom install Easy to use user interface Change updated and outdated apps color for color blindness Option to automatically kill programs before updating it Create a baseline of applications if installing on new PC’s Quickly uninstall multiple programs Scan time is usually less than 1 second Set updates to happen on a schedule Skip updates for any application you don’t want to update Suppresses restarts when performing application updates Patch My PC - Home Updater 5.2.3.0 changelog: Startup Manager New tab to manage which apps launch at startup. This helps speed up your boot time and gives you control over what runs in the background. Generate Diagnostic ZIP You can now create a diagnostic ZIP file from the About page. This helps if you need to send logs on our support forum for Home Updater. Remove Portable Apps Right-click any portable app in the App Catalog or Uninstaller page to remove it directly. Applications Added FFmpeg (Full Shared) – Portable Fing G-Helper – Portable IntelliJ IDEA Community Edition K-Lite Basic Codec Pack K-Lite Full Codec Pack K-Lite Standard Codec Pack KeePass Password Safe v1 LibreOffice Help Pack MemTest86 – Portable Nexus Vortex Nvidia Profile Inspector – Portable Pale Moon – Portable ViVeTool – Portable WinCDEmu Windows PC Health Check Wise Video Converter Applications Removed Driver Easy Download: Patch My PC 5.2.3.0 | 54.8 MB (Freeware) Download: Patch My PC Portable | 31.0 MB (Portable) View: Patch My PC Free Homepage | Screenshot Get alerted to all of our Software updates on Twitter at @NeowinSoftware
    • "For starters, Microsoft Edge is getting a media control center. This feature is intended to let you control multiple media sources from any website in a single place." Oh, I've got this Media Control and couldn't find how to disable it. I hate it when a button appears on a toolbar where there was none just before I press Play. I probably would find it at least somewhat useful if I could start playing media from any opened tab, but now it only shows controls for media I've already started playing. If anyone knows how to disable it - I'd appreciate a hint.
    • Now that he turned on Trump and both sides hate him does anyone want this stupid thing?
    • This is what I thought of earlier today because it seems a bit stupid to have an iPhone 17 running iOS 26 (or iOS 2026 / or even iOS 25/2025). Just make it simple so that the year of the hardware release and the software release are in sync. I personally think they should go with 25 or 2025 (not 26 or 2026), but syncing the hardware and software version numbers could be easier to keep track of. At first, it will maybe be jarring due to all of the changes across the ecosystem, but from that point on it will be easier to keep track of.
    • my dad is experiencing the same thing except it's with Excel. the font became thin compared to windows 10, all the settings the same. i've chalked it up to it being that its connected via DVI instead of HDMI. is your setup the same? i have no technical reasons to believe it's DVI, just a plain guess since the other screen he's connected to seems better to me although may just be my mind playing tricks.  also, why don't you change the text size in accessibility? maybe this will help?   
  • Recent Achievements

    • Week One Done
      abortretryfail earned a badge
      Week One Done
    • First Post
      Mr bot earned a badge
      First Post
    • First Post
      Bkl211 earned a badge
      First Post
    • One Year In
      Mido gaber earned a badge
      One Year In
    • One Year In
      Vladimir Migunov earned a badge
      One Year In
  • Popular Contributors

    1. 1
      +primortal
      492
    2. 2
      +FloatingFatMan
      256
    3. 3
      snowy owl
      248
    4. 4
      ATLien_0
      224
    5. 5
      +Edouard
      189
  • Tell a friend

    Love Neowin? Tell a friend!