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++

Object oriented programmingassignmentq1 assuming there are

Object Oriented Programming Assignment Q1: Assuming there are 7.481 gallons in a cubic foot, write a program that asks the user to enter a number of gallons, and then displays the equivalent in cubic feet. Q2: You can co ...

Ipo chartinputprocessingoutputmarks for four

IPO Chart Input Processing Output Marks for four courses Processing Item: Grade Point and Grade for individual course Overall GPA Algoritham Initialize gp with zero Repeat  for (each course)                 Enter the mar ...

Writeacprogramthatwilluseloopstoperformeachofthefollowingtas

Write a C++ program that will use loops to perform each of the following tasks: 1. Ask the user for two characters from the keyboard and read them into char variables. Determine which input is larger and which is smaller ...

This program involves using stl listsfor this program you

This program involves using STL lists. For this program you will implement three functions whose prototypes are given below: list ::iterator mxIter(list ::iterator first, list ::iterator last); void selectSort(list & aLi ...

This program involves using stl listsfor this program you

This program involves using STL lists. For this program you will implement three functions whose prototypes are given below: list ::iterator mxIter(list ::iterator first, list ::iterator last); void selectSort(list & aLi ...

Discussion questonsplease respond to all of the following

Discussion Questons Please respond to all of the following prompts: • How are input and output accomplished in C++? • How do cin and cout relate to ostream and istream? Lab Activity 1. Write a C++ program per the require ...

Objectives- gain experience with if if else and switch

Objectives - Gain experience with if, if else, and switch statements in C programs. - Experience using % operator and true false logic. Hints This program will be MUCH easier if you design how to do the logic in your own ...

Programming assignment- in this assignment you are

Programming Assignment- In this assignment you are requested to write a C++ program that displays the following colored pyramid on the screen: - The pyramid is 71 characters wide and 21 characters high. - To draw it, you ...

Programming assignment-1 program specification1 your

Programming Assignment- 1. Program Specification 1. Your program must read 8-bit ASCII strings from standard input -- for instance, using the cin object in C++, or stdin in C. You must consume all input from standard inp ...

Descriptionnbspin this assignment you will write a c

Description:  In this assignment you will write a C++ program that finds the kth largest number among a set of N numbers. It will implement the solution using two different algorithms and measure the time elapsed during ...

  • 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

A cola-dispensing machine is set to dispense 9 ounces of

A cola-dispensing machine is set to dispense 9 ounces of cola per cup, with a standard deviation of 1.0 ounce. The manuf

What is marketingbullwhat is marketing think back to your

What is Marketing? • "What is marketing"? Think back to your impressions before you started this class versus how you

Question -your client david smith runs a small it

QUESTION - Your client, David Smith runs a small IT consulting business specialising in computer software and techno

Inspection of a random sample of 22 aircraft showed that 15

Inspection of a random sample of 22 aircraft showed that 15 needed repairs to fix a wiring problem that might compromise

Effective hrmquestionhow can an effective hrm system help

Effective HRM Question How can an effective HRM system help facilitate the achievement of an organization's strate