Ask Question, Ask an Expert

+1-415-315-9853

info@mywordsolution.com

Ask C/C++ Expert


Home >> C/C++

problem 1) prepare a program to print the following patterns using pointers.

A                A
AB              BB
ABC            CCC
ABCD          DDDD

ABCD         DDDD
ABC           CCC
AB             BB
A               A

problem 2) prepare the function to count the number of spaces, tabs and new line characters in agiven string using pointers. The string should be passed to the function as argument.

problem 3) prepare a function to count the numbers of vowels, consonants, digits and special symbols in a given string using pointers. The string should be passed to the function as argument.

problem 4) prepare a function to extract specified number of characters from a given position from a string using pointers. The function has one string argument and two integer arguments.

problem 5) prepare a function to concatenate two strings using pointers. Function has two string arguments.

problem 6) prepare a function to compare two strings using pointers. Function has two string arguments and returns 0 if strings are equal else returns 1.

problem 7) prepare a function to encrypt and decrypt a string using pointers and use your own method of encryption and decryption.

problem 8) WAP to reverse all the strings stored in an array using pointersproblem: prepare a function to swap two strings stored in an array using pointers. The array of strings is passed to the function as arguments.

problem 9) prepare a function to display all the palindrome strings from the array of strings using pointers. The array of strings is passed to the function as arguments.

problem 10) prepare a function to reverse an array of floats using pointers. The array should be passed to the function as argument.

problem 11) prepare a function to print all the palindrome numbers from an integer array and determnine their sum using pointers. The array should be passed to the function as argument.

problem 12) prepare a function to delete duplicate elements from the array using pointers. The array should be passed to the function as argument.

problem 13) prepare a function to sort an array using bubble sort technique using pointers. The array should be passed to the function as arguments.

problem 14) prepare a function to search a value in the sorted array using binary search technique using pointers. The array and value should be passed to the function as argument and function should return 1 if found else returns 1.

problem 15) prepare a function to determnine the row sum and column sum of a two dimensional array of integers using pointers. The array should be passed to the function as argument.

C/C++, Programming

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

Have any Question? 


Related Questions in C/C++

Discussionobject-oriented design please respond to the

Discussion "Object-Oriented Design" Please respond to the following: • Suppose you were required to write a C++ program that captures and stores data about automobiles that a small dealership in your city sells. Consider ...

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

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

Assignmentpart acomplete the following questionswrite c

Assignment Part A Complete the following questions: Write C++ code to open a document with the name Hello.txt, place the message "Hello, World!" in the document, and exit the document. Re open the file you closed, and re ...

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

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

A compiler that translates a high-level language into

A compiler that translates a high-level language into another high-level language is called a source-to-source translator. What advantages are there to using C as a target language for a compiler?

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

  • 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