Ask Question, Ask an Expert

+1-415-315-9853

info@mywordsolution.com

Ask C/C++ Expert


Home >> C/C++

problem 1) prepare a function to transpose a square matrix using pointers. The array should be passed to the function as argument.

problem 2) prepare a function to sort elements of a matrix using pointers. The array should be passed to the function as argument.

problem 3) prepare a program to compute the GCD of two numbers using recursive function.

problem 4) prepare a program to determine the factorial of two numbers using recursive function.

problem 5) prepare a program to print Fibonacci series using recursive function.

problem 6) prepare a program to sort an array using Quick sort technique (recursive).

problem 7) prepare a programfor the recursive Depth first search.

problem 8) prepare a program for the recursive Breadth first search.

problem 9) prepare a program to sort an array using recursive merge sort technique.

problem 10) prepare a recursive merge sort algorithm.

problem 11) prepare a recursive function to multiply two polynomials.

problem 12) prepare a program to define a structure with the following specification

Structure name                    Emp
Ecode                                  integer
Ename                                character array
Basic salary                         float
Hra                                     float                                  40% of basic salary
Da                                      float                                    20% of basic salary
Ta                                      float                                     10% of basic salary
Gross salary                       float                                      basic salary + hra + da + ta
It                                      float                                      20 % of gross salary
Pf                                      float                                       10% of gross salary
Net salary                           float                                        gross salary – (it + pf)

Now perform the following operations:

(1) Take an object of the given structure, input the values for the ecode, ename, basicsalary, find out all other values and display the values.

(2) Take an array of objects of size 10 of the given structure and input, find out anddisplay the values for 10 employees.

problem 13) prepare a program to declare a structure with the following specification:

Structure name            abc
Arr                           array of 10 floats
Max                             float                           maximum of 10 values
Min                              float                            minimum of 10 values
Sum                            float                             sum of 10 values
Avg                             float                             average of 10 values

Take an object of structure type and input the values in arr and find out all other values.

problem 14) prepare a program to declare two structures with the following specification

Structure name         date
Dd                            int                     day
Mm                           int                    month
Yy                            int                     year

Structure name          student
Rollno                          int
Name                           char[10]
Marks                           float
Dob                              date                   date of birth
Doa                              date                  date of admission in school

Now perform the following operations:

• Take an object of structure student, input the values and display the values.

• Take an array of objects of structure student of size 10and input the values for 10 students and displays the values.

C/C++, Programming

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

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

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

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

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

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

Assessment taskthis coursework will allow you to

Assessment Task: This coursework will allow you to investigate some of the issues involved in writing threaded programs. You are to write a series of simple programs in C/C++ that will run under Linux, to illustrate how ...

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

Cosci 21a programming assignmentpurpose experience with

COSCI 21a, Programming Assignment Purpose: Experience with some basic data structures, including circular queues, linked lists, hash tables, and specifically with pointers and the associated dynamic memory allocation. Pr ...

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

C-programmingcreate a c program that sorts a sequence of

C-Programming Create a C program that sorts a sequence of positive numbers using the bubble sort algorithm in an increasing or decreasing order based on the user's choice. The pseudo code for the bubble sort algorithm is ...

  • 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