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

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

Problem 1 you are tasked to write a program that outputs

PROBLEM 1 You are tasked to write a program that outputs the following amplifier system specifications: Voltage amplification: 25 Input voltage: 50 mV Power output: 2.5 W Bandwidth: 15 kHz Type: Class A a. For this progr ...

Only one programwrite a c program to find fibonacci numbers

Only one program Write a C++ Program to Find Fibonacci Numbers using Dynamic Programming.

Fix a programthe program is already done and it runs welli

Fix a program The program is already done and it runs well.. I just need someone to fix it for me, the problem happens when you insert invalid day or invalid ticket type, I want you to end the program *at that point* as ...

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

Text exercise 413 gas mileagebulldrivers are concerned with

Text Exercise 4.13 (Gas Mileage) • Drivers are concerned with the mileage obtained by their automobiles. One driver has kept track of several trips by recording miles driven and gallons used for each trip. Develop a C++ ...

Assignment simple 5-card poker gamein this assignment you

Assignment: Simple 5-Card Poker Game In this assignment, you will develop a simple poker game, complete with basic AI, using the object oriented programming principles discussed in class. Flow of Play Your poker game's p ...

Write a program that calculates mileage reimbursement for a

Write a program that calculates mileage reimbursement for a salesperson at a rate of $0.35 per mile. Your program should interact with the user in this manner: MILEAGE REIMBURSEMENT CALCULATOR Enter beginning odometer re ...

Q 1 write a c program to declare two integer one float

Q. 1 Write a C++ program to declare two integer , one float variables and assign 10, 15, and 12.6 to them respectively. It then prints these values on the screen. Q. 2 Write a C++ program to prompt the user to input her/ ...

Programwriteacprogramthatwillasktheuserforthenameofaninputfi

Program Write a C++ program that will: Ask the user for the name of an input file. Read in this name and open that text file for input. Ask the user which of two options they want to do: Read in student data Count lines ...

  • 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