Question

hello, its a C++ language , it deals with array and funtions.

the subject of Array:
- Create a menu function "menuFunction" that has to contain the following
list:
1- print the summation.
2- print the remainder of the division.
3- exit.
Expand
Transcribed Image Text

the subject of Array: - Create a menu function "menuFunction" that has to contain the following list: 1- print the summation. 2- print the remainder of the division. 3- exit.

Expert Answer

1 Rating

Want to see the step-by-step answer?

Check out a sample Q&A here.

Want to see this answer and more?

Experts are waiting 24/7 to provide step-by-step solutions in as fast as 30 minutes!*

*Response times may vary by subject and question complexity. Median response time is 34 minutes for paid subscribers and may be longer for promotional offers.
Tagged in
Engineering
Computer Science

Programing Language

Related Computer Science Q&A

Find answers to questions asked by students like you.

Q: You are required to write a C++ program that reads several hundreds of movie ratings from an input f...

A: PROGRAM: //Header file #include <iostream> #include <vector> #include <fstream> #i...

Q: Explain the general syntax used for accessing an array component.

A: Syntax for accessing an array component An array stores a fixed size sequential collection of eleme...

Q: Why does the network-layer protocol need to provide packetizing service to the transport layer? Whyc...

A: Network layer:   The network layer in the OSI model is the layer that is used to provide the facilit...

Q: Taking data transfer instruction set as an example explain the following four addressing modes used ...

A: Addressing mode This is an instruction to transfer the contents of a memory location to a register a...

Q: In a slotted Aloha network with G = 1/2, how is the throughput affected in each of the following cas...

A: Throughput for slotted ALOHA: The throughput for slotted ALOHA is as follows: Here, G refers to the...

Q: Write a program that prompts the user to input a decimal number and  outputs the number rounded to t...

A: Program code: //include the required header files #include<iostream> using namespace std; //d...

Q: Write a statement that assigns the number of characters in the strZip variable to the intNum variabl...

A: The statement “intNum = strZip.Length” can be used to assign the number of characters in the “strZip...

Q: objective code  flowchart  algorithm

A: Function objective: - To find whether the number is palindrome or not. Algorithm: - Declare the fun...

Q: In BitTorrent, suppose Alice provides chunks to Bob throughout a 30-second interval. Will Bob necess...

A: Click to see the answer

Q: The program should be in C++. Please use easy logic for a beginner with a proper indentations and co...

A: The program defines a function display() to print the vector. The function uses a for each loop to p...

Q: Write a program that recommends the number of calories a person should eat each day. Calories are un...

A: Program Explanation:   The header file “<iostream>” is declared that contains all standard li...

Q: (Tic-Tac-Toe) Write a program that allows two players to play the tictac-toe game. Your program must...

A: Program: #include <iostream> #include <iomanip> using namespace std; class ticTacToe{ pr...

Q: An Auto Insurance Program Example - Write a program to determine the cost of an automobile insuran...

A: Program Explanation –   Import the essential java libraries. Declare the class named as Main. Defin...

Q: Differentiate between logical and physical storage and records

A: Click to see the answer

Q: Class and Data members: Create a class called Temperature that stores temperature readings (integers...

A: The class has following declaration: Data members (private): vector<int> temperature string ...

Q: Based on your reading of the chapter and what you now know about the issues, list at least three oth...

A: As we know, Charley and Iris met for the lunch and Charley recommended to the Iris. Based on my read...

Q: Explain the difference between a form’s Text property and its Name property.

A: Difference between a form’s Text property and its Name property:

Q: When a control has the __________, it receives the user’s keyboard input. a. text b. tab order c. fo...

A: The Text is a property of the almost all controls used for display the text what user wants. Once th...

Q: objective code  flowchart  algorithm

A: An objective of this program is to calculate the sum of odd integers and even integers for the first...

Q: Some systems analysts maintain that source documents are unnecessary. They say that all input can be...

A: Given information: Some system analysts consider source documents as unnecessary. According to them...

Q: How to solve the -input file not found- error in this jav code:System.out.print("Enter input file: "...

A: For the given code, the file which is to be accessed should be present in the directory “C:”, otherw...

Q: List the six steps in the program development cycle.

A: When the programmer wants to develop a program using any programming language, the programmer follow...

Q: The factorial of a number n can be estimated using the following formula: n!= /2xT xn x Where e=2.71...

A: The below points are followed to write the program with the given description: Include following he...

Q: Write a recursive function, reverseDigits, that takes an integer as a parameter and returns the numb...

A: RECURSIVE FUNCTION: int rev_dig = 0; int base_pos = 1; //Recursive function int reverseDigits(int n)...

Q: Define member access operator arrow.

A: Arrow operator: The operator which is used to access the members of a class through a pointer to the...

Q: You are required to write a C++ program that reads several hundreds of movie ratings from an input f...

A: A C++ program is as follows, File name: “main.cpp” //Header file #include <iostream> #include ...

Q: True or False A single-alternative decision structure tests a condition and then takes one path if t...

A: Single-alternative decision structure: Single decision alternative structure gives only one alterna...

Q: What are three typical reasons why companies develop their own information systems?

A: The three typical reasons why companies develop their own information systems are listed below:

Q: Suppose that stack is an object of type stackType<double>, the value of stack.top is 8, and de...

A: (a) Number of elements in the stack is 8. Explanation: The number of elements in a stack is return ...

Q: The intNums array is declared as follows: Dim intNums() As Integer = {10, 5, 7, 2}. Which of the fol...

A: The correct answer to this question is option b)  For Each intX As Integer In intNums intTotal += in...

Q: 1) the half-adder, and write the output expressions for the sum (S) and the carry (C). The following...

A: The half adder is basically a logical circuit which performs addition task on binary digits. It gene...

Q: Please use easy logic with proper indentations and comments for understanding!. Coding should be in ...

A: Create a text file. file.txt contains:

Q: Write a function f1 that takes the root of a binary tree as a parameter and returns the sum of the n...

A: NOTE: - The working code is given in step implemented in c++ language.  PROGRAM EXPLANATION: - Crea...

Q: Using MySQL, populate the CUST_LNAME, CUST_FNAME, and CUST_BALANCE fields with the following custome...

A: MySql query to display CUST_LNAME, CUST_FNAME, and CUST_BALANCE fields: First step is to create the ...

Q: Which property is used to give a form file a more meaningful name? a. File b. File Name c. Form Name...

A: Property for giving files a name A file name is used to identify a computer file uniquely. These co...

Q: What is the answer?

A: Cloud computing service model:   Cloud computing is basically a process in which the computer resour...

Q: How does a command line interface work?

A: Click to see the answer