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

Assignmentoverviewthis assignment consists of implementing

Assignment Overview This assignment consists of implementing an application using the techniques learned in the first half of the course. Examples on how to use file operations, random number generation, the standard tem ...

Assignmentbullwrite the code for each lab

Assignment • Write the code for each lab assignment. • Submit the lab in a single zip file in the online course shell. The lab must contain all .cpp files, along with any additional files that may be necessary for your p ...

Projectdecision statementsdirections read carefully and

Project: Decision Statements Directions (Read CAREFULLY and follow COMPLETELY): - Create the following programs in C++ that perform the purpose described and show the sample output (with user input where applicable). - I ...

Assignment part acreate a checkbook program using c

Assignment (part a) Create a Checkbook program using C : • Create a Check structure. Include:   o Check number (should be an integer).   o Date (use type char[ ]).   o To   o Amount   o Description • Add functions to:   ...

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

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

Write a program that reads numbers from cin and then sums

Write a program that reads numbers from cin and then sums them, stopping when 0 has been entered. Construct three versions of this program, using the while ,do - while , and for loops. Add the following to your program: ...

Modules in c are called functions c programs are typically

Modules in C are called functions. C programs are typically written by combining user created functions as well as "pre-packaged" functions found in the C Standard Library. For instance, printf() is a function that is fo ...

1 write a c program that allows the user to create a test

1. Write a C++ program that allows the user to create a test bank of questions 2. The program should first ask the user how many questions he or she wishes to create. 3- The user should now be prompted for all informatio ...

Programming assignmentwrite a c program that allows the

PROGRAMMING ASSIGNMENT Write a C program that allows the user to make some banking transactions. The program should first prompt the user to enter the current balance of his/her bank account (in dollars and cents). The p ...

  • 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

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

Describe what you learned about the impact of economic

Describe what you learned about the impact of economic, social, and demographic trends affecting the US labor environmen