• 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

    • So basically their prebuilding it into the ISOs?
    • Microsoft shares Defender anti-virus update for new Windows 11/10 ISOs by Sayan Sen Following the one for Lumma last month, Microsoft has also published a new Defender update for Windows 11/10/Server installation images this month. This update package is necessary as a Windows installation image may contain old, outdated anti-malware definitions and software binaries. Aside from better security, these updates can also provide improved performance benefits in some cases. When a new Windows installation is set up, there may be a temporary security risk due to outdated Microsoft Defender protection in the OS installation images. This happens because the antimalware software included in these images might not be up to date. Thus Microsoft says that these updated definitions essentially help close this protection gap. Microsoft delivered the latest security definitions for Windows images via security intelligence update version 1.431.54.0. The Defender package version is also the same. It applies to Windows 11, Windows 10 (Enterprise, Pro, and Home editions), Windows Server 2022, Windows Server 2019, and Windows Server 2016. Microsoft writes: From Microsoft's security bulletin, we learn that the security intelligence update version 1.431.54.0 was released this past week adds threat detections for various backdoor exploits, trojans, among others. For those wondering, the latest intelligence update is version 1.431.155.0 at the time of writing.
    • “In other news about OneDrive frustration, Microsoft recently locked out a user who was attempting to move a bunch of important data from old hard drives to OneDrive.” - It was probably CSMA..
    • Just what I needed! An extremely expensive pair of sunglasses that I will lose and cannot use indoors. My life will be complete. I trust Meta AI watching my entire life happen. It's going to be the best ever!
  • Recent Achievements

    • One Month Later
      SekTheFirst earned a badge
      One Month Later
    • First Post
      zayanhani earned a badge
      First Post
    • First Post
      HarryTaylor earned a badge
      First Post
    • One Year In
      Eternal Tech earned a badge
      One Year In
    • One Month Later
      Eternal Tech earned a badge
      One Month Later
  • Popular Contributors

    1. 1
      +primortal
      651
    2. 2
      ATLien_0
      234
    3. 3
      Michael Scrip
      228
    4. 4
      Steven P.
      140
    5. 5
      +FloatingFatMan
      139
  • Tell a friend

    Love Neowin? Tell a friend!