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
zalisa [80]
3 years ago
6

Write a complete c++ program using function and array.​

Computers and Technology
1 answer:
lana66690 [7]3 years ago
8 0

Answer:

Index Value Hash

0 1 $

1 2 $$

2 3 $$$

3 4 $$$$

4 5 $$$$$

Explanation:

You might be interested in
A signal has a spectrum from 0 to 145 Hz, as shown below. It is sampled at a rate of 295 Hz. Find the region of the baseband spe
kirza4 [7]

Answer:  None; all will be recoverable

Explanation:

If a signal (band-limited) is sampled at regular intervals, it could be recoverable or not, based on the number of samples taken.

Let's assume that we want to take samples of a simple sinusoid; If we take more than two samples during a signal cycle, the original waveform will be able to be reconstructed, just passing the sampled waveform through a low-pass filter.

In the more general case in which the signal occupies a frequency spectrum, if the sample frequency is greater than the double of the highest frequency in the spectrum, the signal can be retrieved completely, according to the  Nyquist Theorem.

In this case , as the highest frequency is 145 Hz, it would be enough  to take samples at a rate greater than 290 Hz; As the sample rate is 295 Hz, all the signal can be recovered, at least, using an ideal "brickwall" low-pass filter.

7 0
3 years ago
Read 2 more answers
John is writing a code instructing the character to move forward 10 steps, choose a number between 1 to 10, and if the number is
gladu [14]

Answer: bro im suck on the same thing

Explanation:

8 0
3 years ago
Draw a flowchart that ask the user to enter number: if the number is less than then 10 number it is doubled if the number is mor
solong [7]

Answer:

please find the attachment of the flowchart.

Explanation:

In this question, a start block is used to start the program, in the parallelogram box we input the value from the user end and in the diamond box, we check the input is not equal to 0. In the next diamond box, it checks the given input value and print value, and at the last, we stop the code.

Please find the program and its output in the attached file.

8 0
3 years ago
Design an application for the Sublime Sandwich Shop. The user makes sandwich order choices from list boxes, and the application
Arada [10]

import javax.swing.*;

import java.awt.*;

import java.awt.event.*;

public class JSandwich extends JFrame implements ItemListener {

 FlowLayout flow = new FlowLayout();

 JLabel companyName = new JLabel("Sublime Sandwich");

 JComboBox<String> mainBox = new JComboBox<String>();

 JLabel mainList = new JLabel("Main ingredient");

 JComboBox<String> breadBox = new JComboBox<String>();

 JLabel breadList = new JLabel("Breads");

 JTextField totPrice = new JTextField(10);

 int mainNum, breadNum;

 double[] mainPrices = {6.99, 7.99, 8.99};

 double sumPrice = mainPrices[0];

 double breadPrice = 0;

 double mainPrice = mainPrices[0];

 double[] breadPrices = {0, 0, 0};

 String output;

 public JSandwich() {

   // code here

 }

 public static void main(String[] arguments) {

   JSandwich sandframe = new JSandwich();

   sandframe.setSize(240, 200);

   sandframe.setVisible(true);

 }

 public void itemStateChanged(ItemEvent list) {

   //

 }

}

4 0
3 years ago
Yo need help can someone plz help
Natasha_Volkova [10]
Boolean search would be the answer
5 0
3 years ago
Other questions:
  • Which type of footwear should be worn while working on a hybrid vehicle?
    8·2 answers
  • If the value of the expression,
    13·1 answer
  • Who can effectively use website authoring software?
    6·1 answer
  • Why is it important for people to express resentments in the workplace?
    9·1 answer
  • When is a wrecker considered to be an emergency vehicle?
    12·1 answer
  • You notice your glove is torn; what should you do
    14·2 answers
  • What are the differences between the various EHRs?
    9·1 answer
  • Most professional coding standards use _____ for class names. (Points : 2) underscores along with all upper case words
    15·1 answer
  • How do i beat the final battle in lara croft: temple of osiris?
    9·1 answer
  • Sam wants to use the rule of thirds to capture the essence of his image. How will he apply this rule in his image to get a pleas
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!