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
NARA [144]
3 years ago
14

Write a c++ function, largestnum, that takes as parameters a double array and its size and returns the index of the last occurre

nce of the largest element in the array. also, write a program to test your function.
Computers and Technology
1 answer:
miv72 [106K]3 years ago
6 0
Not a Question so how am i supposed to help with this problem
You might be interested in
Miley met up with a bunch of her college friends after several years. She told them that she works for the sound department of a
icang [17]

Answer: C

Explanation:

6 0
3 years ago
Assume that price is an integer variable whose value is the price (in US currency) in cents of an item. Write a statement that p
aivan3 [116]

Answer:

// here is program in C++.

#include <bits/stdc++.h>

using namespace std;

// main function

int main()

{

// variable

int price;

cout<<"enter the price: ";

// read the price

cin>>price;

// find the dollars

int doll=price/100;

// find the cents

int cent=price%100;

// print the dollars and cents

cout<<doll<<" dollars and "<<cent<<" cents.";

return 0;

}

Explanation:

Read the price from user and assign it to variable "price".Then find the dollars by dividing the price with 100 and to find cents calculate modulus 100 of price. Then print both the value.

Output:

enter the price: 4321                                                                                                      

43 dollars and 21 cents.

3 0
4 years ago
Please answer quick:))))
Anika [276]
I think B and the second one C
8 0
3 years ago
Which of the following are safety guidelines when socializing online?
DochEvi [55]

Answer:

All of them execpt five and three.

Explanation:

It is okay to have social media and receive messages.

3 0
2 years ago
Which option best describes a trustworthy person?
jasenka [17]
<span>A person who babysits your kids or who you tell your secrets to.



A example since you dont have choices</span>
5 0
4 years ago
Read 2 more answers
Other questions:
  • Ten 9600-bps lines are to be multiplexed using TDM. a. Ignoring overhead bits in the TDM frame, what is the total capacity requi
    6·1 answer
  • Which of the following is the largest disadvantage of wind power?
    12·2 answers
  • HELP QUICK!!!
    14·2 answers
  • If you have a rubric, “your teacher can prove you knew what you were supposed to do.” T/F
    10·2 answers
  • Which one of the following may be used as an input as well as an output device? A. Fax machine B. Scanner C. Printer D. Voice re
    9·1 answer
  • What determines the choice of a rocket for a mission?
    11·1 answer
  • What term is given to pieces of computer software that allow you to manage your e-mail from your computer?
    12·1 answer
  • Write a for loop that sets each array element in bonusScores to the sum of itself and the next element, except for the last elem
    11·2 answers
  • Which platform is the best? (X-box, PC, Playstation, Nintendo Switch, Wii)
    10·1 answer
  • From Blown to Bits why is it important to know what children are doing on the Web Tonight?
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!