Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Draw a structured flowchart or write structured pseudocode for the following pro

ID: 3687412 • Letter: D

Question

Draw a structured flowchart or write structured pseudocode for the following problem from your textbook, Programming Logic and Design problem 6a on page 172: The Dash Cell Phone Company Charges customers a basic rate of $5 per month to send text messages. Additional rates are as follows: The first 60 messages per month are included in the basic bill; An additional five cents is charged for each text message after the 60th message, up to 180 messages; An additional 10 cents is charged for each text message after the 180th message; Federal, state, and local taxes add a total of 12 percent to each bill.

i need a psuedocode or flowchart thanks in advance for the help

Explanation / Answer

#include<iostream.h>
#include<stdlib.h>

void main()
{
   int sms;
   double chr, net;
   cout<<"Enter total sms send";
   cin>>sms;
   chr=5;
   if(sms>=0 && sms<=60)
       chr=5;
   else if(sms>60 && sms<=180)
       chr=5+(sms-60)*.05;
   else if(sms>180)
       chr=11+(sms-180)*.1;

   net =chr+(chr*12/100);

   cout<<"Net bill of sms is="<<net;
   system("pause");
}

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote