• 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

    • It's been an age since I did desktop support, but here goes: You have an issue with Windows 11, which is fair.  You are using a freeware 3rd party app to make modifications to the default Windows 11.  Since an update, this 3rd party application no longer plays nice with Windows 11.  And this is somehow Windows 11's fault? Sorry, not buying that this is a Windows 11 problem... it's a customization issue that has just appeared, but standard 3rd party support.   Clearly you're upset.  You can't make Windows do anything, just like you can't make MacOS run Explorer or Linux run Nintendo games natively.  And I know people are going to say "sure, it's possible..." but those aren't defining elements of the OS.  You can't have animated backgrounds in Windows 11 natively -- so it's trash amirite??? I did quick searches about changing the default fonts and there are ways to do it, and clearly 3rd party freeware apps can do it (basically my guess is they're making registry changes on your behalf) and clearly they're having issue.   You can make your computer do a lot of things, but sometimes you get what you pay for. Did a quick search and don't see an easy option in Windows 10 either.  Some of these links - ironically - are for Windows 10.  They still apply. Here's a video tutorial of how it can be done without a 3rd party:   Same reference here with a bit more detail: https://www.howtogeek.com/716407/how-to-change-the-default-system-font-on-windows-10/ Once the font is chosen, the size can be changed via personalization from my understanding. Hope this helps.
    • Videomass 5.0.26 by Razvan Serea Videomass is not just a common converter, it features file concatenation, time trimmer, ability to create thumbnails, tiled mosaics and animated giffs from movies; it has sophisticated GUIs for video filters, previews for video stabilization, resizing, croping, transposing, color equalization. It features PEAK, RMS and EBU audio normalization with streams indexing capabilities, a volume analyzer, audio preview and many more interesting features… For the people that are familiar with FFmpeg, it has a highly customizable preset manager with the possibility to easily make your own presets through the GUI and adapt this to your specific needs or create new presets using the FFmpeg command line. For less experienced people there are also ready-to-use presets. It offers out-of-the-box all possible file formats like MP4, M4V, M4A, MKV, AVI, OGV, WEBM, MP3, AC-3, WAV, OPUS, FLAC, OGG and encoders like MPEG-4, H.264/AVC, H.265/HEVC, VP8, VP9, LIBAOM-AVI, VORBIS, PCM, LAME, ALAC, etc. Also you can copy audio or video streams (lossless mode) without re-encoding, or extract audio from videos and much more! Main features No ads Multi-Platform, work on Linux, MacOs, Windows, FreeBsd. Batch processing. Queue management (only available for Presets Manager and A/V Conversions). Advanced log file management. Multi-panels, switch between panels using keyboard shortcuts. Audio/video processing using advanced tools and sophisticated filters interfaces. While downloading audio or video you can now do other transcoding tasks. Multi languages support (English, French, Italian, Russian, Dutch, Portuguese-BR, simplified Chinese, Spanish-ES, Spanish-CU, Spanish-MX) Conversions and transcoding Drag and drop to add multiple files simultaneously. Fully customizable presets and profiles. Possibility to create your new presets and profiles from scratch. Has useful presets to start with. Using the Presets Manager, you can set any format and codec supported by your FFmpeg build. Media file info (from FFprobe) and streams analyzer (from volumedetect). Shows the estimated time of arrival during encodings. Concatenate, merge media files losslessly. Create Slideshows. Extract images from video. Ability to switch between different FFmpeg builds. Has useful graphical tools for evaluating the supported features of a specific FFmpeg build. Audio stream mapping using selectable indexes. You can set both audio and video to copy when you just want to convert formats (lossless process). Timeline editor to slice time segments or trim the duration of your media even without re-encoding and therefore without loss of quality. It has GUI video filters such as: Resize Crop Transpose Deinterlace Denoise Stabilize Equalize Audio filters for volume normalization such us: PEAK, RMS and EBU-R128 normalizers. PEAK and RMS volume analysis reporting. Ability to select specified audio streams in videos to apply volume normalization. and much more… Videomass 5.0.26 changelog: Fixed yt-dlp preferences tab issue #372 Enabled import of the external «yt_dlp» package also on the standalone executable built by Pyinstaller. Improved handling of the yt-dlp executable (yt-dlp.exe on Windows) which now provides some automation and useful information for the users. Added «Whale» browser to the supported browser list for cookie automations. Update it_IT i18n, thanks to @bovirus Update zh_CN i18n, thanks to @userwljs Removed API functionality for download operations. Now only the yt-dlp executable is used for download operations. The API is still needed and will only be used for statistics extraction and format code listing. Fixed #374 Added «FLAC resampler» new preset. Notes: FFmpeg is not included in this archive. Before launching the application, ensure you have a compatible version of FFmpeg for your system architecture (requires ffmpeg.exe, ffprobe.exe, and ffplay.exe, version 5.1 or newer). For more details and downloads, visit: Gyan's FFmpeg builds page BtbN's FFmpeg GitHub releases page Antivirus False Positive Detection Some antivirus programs may mistakenly flag Videomass.exe as malicious. These are false positives. To resolve this, submit the Videomass.exe file to your antivirus vendor for further analysis and request a false positive review. Download: Videomass 5.0.26 | 18.4 MB (Open Source) Links: Videomass Home Page | Screenshots | Other OSes Get alerted to all of our Software updates on Twitter at @NeowinSoftware
    • Who could have thought that Microsoft's (not an ad business) browser is better at blocking ads than Google's (the ad business) browser.
    • So, Microsoft Edge should be behind Firefox and Chrome, because most average users have not heard about it and don't know it's exist.
  • 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
      488
    2. 2
      +FloatingFatMan
      259
    3. 3
      snowy owl
      244
    4. 4
      ATLien_0
      222
    5. 5
      +Edouard
      191
  • Tell a friend

    Love Neowin? Tell a friend!