Ask Question, Ask an Expert


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

1 create a c visual studio console application with the

1. Create a C++ visual studio console application with the name Project2. (As usual, to make the grader happy, it is critical that your project as well as your zip file contain your name and the exercise or project numbe ...

Writing a c code its a beginner level code design a class

Writing a C++ code, its a beginner level code. Design a class house that defines a house on a street. A house has a house number and an (x,y) location, where x and y are numbers between -10 and 10. the key member is plot ...

Assignment a random mazewrite a new c program with the

Assignment (a) Random Maze Write a new C++ program with the following functionality: The program writes a greeting on the screen. Then the program displays a maze of ASCII symbols on the screen. The maze consists of 8 ro ...

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

Programming in cbubba tubs bbq rub is a company that makes

Programming in C++ Bubba Tub's BBQ Rub is a company that makes different BBQ dry rubs and sauces. They make each product when it is ordered with the freshest ingredients and sell it by the unit. A unit is 2 ounces of pro ...

Write a c program that prompts the user to enter a line of

Write a C program that prompts the user to enter a line of text (up to 50 characters). It should then convert the text entered to uppercase letters and then to lowercase letters, and then to Sentence case. Your program s ...

The second portion instruction shown below which is the

The second portion (instruction shown below) which is the actual C++ program is needed by this Saturday. Write a C++ program that is menu-driven that allows for the following menu choices:Load an exam: Loading an exam sh ...

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

Discussionwhile loops versus for loops please respond to

Discussion "While Loops versus For Loops" Please respond to the following: • Suppose you are writing a C++ program that plays a commercial video continuously within a kiosk at your favorite shopping mall within your home ...

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