Ask Question, Ask an Expert

+1-415-315-9853

info@mywordsolution.com

Ask C/C++ Expert


Home >> C/C++

problem1) prepare a program to input the marks of 10 students in an array of integers and display themarks.

problem 2) prepare a program to search how many times a number is present in an array.

problem 3) prepare a program to subtract two arrays of the same size.

problem 4) prepare a program to input the sales made by a salesman in every month of a given year and find out the total, average, maximum and minimum sales.

problem 5) prepare a program to find out the average of 10 values stored in an array and display all those values which are more than the find outd average.

problem 6) prepare a program which finds the locations and values of largest and second largest element ina one dimensional array.

problem 7) prepare a program to reverse an array of floats.

problem 8) prepare a program to create a sorted list using arrays. Every time the element is entered in the array, the array must remain sorted.

problem 9) prepare a program to rotate an integer array towards right by the given number of times.

problem 10) prepare a program to input 20 values in an integer array and count the negative, positive, oddand even values in the array.

problem 11) Given an array named A with following elements: 3, -5, 1, 3, 7, 0, -15, 3, -7, -8.

WAP to shift the negative numbers to the left and positive numbers to the right so that the resultant array look like

-5, -15, -7, -8, 3, 1, 3, 7, 0, 3

problem 12) prepare a program to copy the last 5 elements of array B after first 5 elements of array A. Assume length of A and B is greater than 5.

problem 13) prepare a program to print all the palindrome numbers from an integer array and find out their sum.

problem 14) prepare a program to print all the prime numbers from an integer array and find out their sum.

problem 15) prepare a program to input 10 values in a float array and display all the values more than 75.

C/C++, Programming

  • Category:- C/C++
  • Reference No.:- M94897

Have any Question? 


Related Questions in C/C++

Computer applications divisionassignment c programmingstl

COMPUTER APPLICATIONS DIVISION Assignment: C++ PROGRAMMING STL Vector For this assignment, you will be starting with an example program that demonstrates the use of a STL vector. In addition to this, you may need to look ...

Assignmentobjectivespractice reading characters from a

Assignment Objectives Practice reading characters from a file Practice using command line input Practice using command-line redirection of files Practice implementing a double transposition ciphering algorithm Summary In ...

1 three employees in a company are up special pay increase

1. Three employees in a company are up special pay increase. You are given a file, with the following data: Miller Andrew 65789.87 5 Green Sheila 75892.56 6 Sethi Amit 74900.50 6.1 Each input line consists of an employee ...

Assignmentwhen writing c programs include comments in your

Assignment When writing C++ programs include comments in your code, make the program readable by indenting, use meaningful variable and function names, and produce meaningful output. This assignment will be to write a bm ...

Computer scienceyou have gathered your information on the

Computer Science You have gathered your information on the AI for the Tic-Tac-Toe game and began to develop your own ways to improve it using C++. Now, it's time to present your findings in a final paper. Remember that y ...

1 we know that from ece 109 to calculate the

1. We know that from ECE 109, to calculate the equivalent resistance of a network of resistors in series in parallel are given by: Write a C++ program that asks the user to input values for resistors (as many as they wou ...

Assignmentconsider the following declarationsclass

Assignment Consider the following declarations: class bagType { public: void set(string, double, double, double, double); void print() const; string getStyle() const; double getPrice() const; void get(double, double, dou ...

Write a console-based c program that can be used as a math

Write a console-based C++ program that can be used as a math tutor for a young student. The program should display two random numbers consisting of three digits each to be added in columnar format, such as: 247 +129 ---- ...

Write a c program that calculates and prints the average of

Write a C program that calculates and prints the average of two or more salaries entered by the user. The program should first prompt the user to enter the number of salaries to process (make sure: at least 2 salaries mu ...

Bankers algorithmimplement the bankers algorithm for

Banker's Algorithm Implement the Banker's algorithm for deadlock avoidance, that works on a given set of N processes and M resource types (N The input data and result is then displayed on the screen. You may use your pro ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

WalMart Identification of theory and critical discussion

Drawing on the prescribed text and/or relevant academic literature, produce a paper which discusses the nature of group

Section onea in an atwood machine suppose two objects of

SECTION ONE (a) In an Atwood Machine, suppose two objects of unequal mass are hung vertically over a frictionless

Part 1you work in hr for a company that operates a factory

Part 1: You work in HR for a company that operates a factory manufacturing fiberglass. There are several hundred empl

Details on advanced accounting paperthis paper is intended

DETAILS ON ADVANCED ACCOUNTING PAPER This paper is intended for students to apply the theoretical knowledge around ac

Create a provider database and related reports and queries

Create a provider database and related reports and queries to capture contact information for potential PC component pro