1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Drupady [299]
3 years ago
5

Sara is writing a program to input her monthly phone bills and output the month name and amount for the month with maximum amoun

t. She has defined an array to hold the month names.
Complete the pseudocode program.


# Program to output maximum month’s phone bill


MonthName ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"]


# Define an array to hold the phone bills for each month  
Computers and Technology
1 answer:
Andru [333]3 years ago
6 0

Answer:

# include <conio.h>

#include <iostream.h>

using namespace std;

main()

{

int billamount[12];

char monthname["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"];

<em>for (int month = 1 ; month<=12; month++)</em>

<em>{</em>

<em>cout<<"Enter the amount of bill for the month"<<month;</em>

<em>cin>>billamount[month];</em>

<em>}</em>

for (i=0; i<= 12; i++)

{

if (billamount[0]<billamount[i])

billamount[0]=billamount[i];

monthname[0]=monthname[i];

}

<em>cout<<"Maximum months phone bill"<<monthname[0]<<"="<<billamount[0]</em>

<em />

getch();

}

You might be interested in
A palindrome is a string whose reversal is identical to the string. how many bit string of length 20 are palindromes and do not
zepelin [54]

There are 2n possible bit strings for any n.

<h3>What makes something a palindrome?</h3>
  • The way they read both forward and backward is the same.
  • A palindrome is a word, phrase, or sentence that reads the same both forward and backward.
  • Palindrome is a combination of the Greek words for "again" (Palin) and "to run" (drom).
  • A palindromic number, sometimes referred to as a numeral palindrome or a numeric palindrome, is one whose value does not change when its digits are flipped, for example, 16461.
  • The single palindrome date in the M/DD/YYYY date format in 2022 is February 20, 2022. (2-20-2022)

To learn more about palindrome, refer to:

brainly.com/question/28279486

#SPJ4

7 0
2 years ago
Help me with this please, it is for tech
Sonbull [250]
I believe it’s dsl.
5 0
4 years ago
One disadvantage of online information sharing is that:
zubka84 [21]

Answer:

its b i just took the test

Explanation:

3 0
3 years ago
Read 2 more answers
What does copyright and trademark both have in common
Marina CMI [18]

copyright is the exclusive legal right, given to an originator or an assignee to print, publish, perform, film, or record literary, artistic, or musical material, and to authorize others to do the same.  

trade mark is A trademark, trade mark, or trade-mark is a recognizable sign, design, or expression which identifies products or services of a particular source from those of others, although trademarks used to identify services are usually called service marks.

4 0
4 years ago
Which range function creates the following list of numbers?<br> 76 74 72 70 68 66 64 62
baherus [9]

Answer:

they look like even number

Explanation:

2 4 6 8 10 12 -------seeeeee but not hundred percent sure but plz put me in brainlist

4 0
3 years ago
Other questions:
  • Give the Linux bash pipelined command that would take the output of the "cat /etc/passwd" command (that lists the contents of th
    5·1 answer
  • Write a java program that declares an array "alpha" of 50 elements of type "double". Initialize the array so that the first 25 e
    11·1 answer
  • Maria is comparing her history project's second-place award to her classmate's first-place award. She starts planning how to win
    9·2 answers
  • Program 1: I’m buyin’ a Ferrari! If you’ve ever travelled to another country, you know that working with different currencies ta
    6·1 answer
  • 111+ 11- 1 <br><br><br>1111+1111<br><br><br><br><br>1101 +1101<br><br><br>1010-11​
    10·2 answers
  • Pls help me Pls help me
    13·1 answer
  • Describe 6 difference of the types of computer<br>​
    13·1 answer
  • Help me code game plz just comment below for more info
    10·2 answers
  • HELP PLEASE!!!!!!!!!<br> Please fix the coding! thanks I give brainliest
    5·1 answer
  • If you have an unstable investment and after 5 years you have 100 dollars less than you started with, is your IRR positive or ne
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!