+1-415-315-9853

info@mywordsolution.com

## Programming

 C/C++ Java DOT NET Python Assembly C Sharp Perl COBOL Visual Basic CAD/CAM Object Oriented Programming Asp.NET PHP JSP Shell Scripting Java Script Ajax CSS/HTML Joomla Wordpress Megento Photoshop DBMS PL-SQL Oracle MS-SQL MS-ACCESS My-SQL SYBASE FOXPRO Excel Programming Language Mobile Applications

problem 1: In a town, the percentage of men is 52. The percentage of total literacy is 48. If total percentage of literate men  is 35 of the total population, prepare a program to find out the total number of illiterate men and women if the population of town is 80,000.

problem 2: When Cheryl Harrison began her trip from Newyork to Wyoming; she filled her car’s tank with gas and reset its trip meter to zero. After traveling 324 miles, Cheryl stopped at a gas station to refuel; the gas tank needed 17 gallons. Cheryl wants a program that computes and displays her car’s gas mileage at any time during the trip. The gas mileage is the number of miles her car was driven per gallon of  gas. prepare a C code which can implement.

problem 3: The manager of the Lakeview Hotel wants a program that computes and displays a guest's total bill. Each guest pays a room charge which is based on a per-night rate. For illustration if the per night rate is \$100 and the guest stays two nights, the room charge is  \$200.Customer as well might incur a one-time room service charge and a one-time telephone charge.

problem 4: prepare a c code which will compute the roots of a quadratic equation a2 + bx + c = 0

problem 5: Hero’s Formula is A method for computing the area of a triangle when you know the lengths of all three sides. Let a, b, c be the lengths of the sides of a triangle. The area is:

A = √p(p -a)(p -b)(p -c)

where, P = (a + b + c)/2

prepare a C-language code to compute area of triangle using above method. Take the three lengths of the triangle from the user and display the area that your program computes.

problem 6: Area of a trapezoid can be computed by the gven formula:

A = (b1 + b2) x h/2

where b1 and b2 are the parallel sides or the bases and h is length of height.

prepare a C-language code to compute area of a trapezoid using above method. Take required inputs from the user and display the area which your code computes.

problem 7: prepare a C code which can compute volume of the 3D objects that is, box, prism, cylinder and sphere. Take necessary inputs from the user and display the outcomes.

Volume of a box =  l x w x h
l = length, w = width, h = height

Volume of sphere = 4/3 πr3

problem 8: prepare a C code to evaluate the following series up to three significant digits:

sin(x) = x − (x3/3!) + (x5/5!) − (x7/7!) . . .

problem 9:  prepare a C function

a) To compute the distance between two points A and B where each point has two values x and y that is, A(x1, y1), B(x2, y2).
distance d = √(x2 - x1)2 + (y2 -y1)2

b) Modify the code in part a) and compute the distance between 3 points. You have to compute the distance between A and B, B and C, and finally between A and C.

Now consider that such three points are forming a triangle. Develop a logic that can lead to compute the area of this triangle. Implement your logic in C language. Take essential inputs and display the results.

problem 10: For the given set of sample data, find out the standard deviation and the mean.

X = -6, -12, 8, 13, 11, 6, 7, 2, -6, -9, -10, 11, 10, 9, 2

C/C++, Programming

• Category:- C/C++
• Reference No.:- M92038
• Price:- \$70

Guranteed 36 Hours Delivery, In Price:- \$70

Have any Question?

## Related Questions in C/C++

### Object oriented programmingassignmentq1 assuming there are

Object Oriented Programming Assignment Q1: Assuming there are 7.481 gallons in a cubic foot, write a program that asks the user to enter a number of gallons, and then displays the equivalent in cubic feet. Q2: You can co ...

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

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

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

### Writeacprogramthatwilluseloopstoperformeachofthefollowingtas

Write a C++ program that will use loops to perform each of the following tasks: 1. Ask the user for two characters from the keyboard and read them into char variables. Determine which input is larger and which is smaller ...

### Pa 1 word countertabulating basic document statistics is an

PA #1: Word Counter Tabulating basic document statistics is an interesting exercise that leverages your knowledge of strings, files, loops, and arrays. In this homework, you must write a C++ program that asks the user fo ...

### Discussion questonsplease respond to all of the following

Discussion Questons Please respond to all of the following prompts: • How are input and output accomplished in C++? • How do cin and cout relate to ostream and istream? Lab Activity 1. Write a C++ program per the require ...

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

### C program codeoverviewfor this assignment write a program

C++ program code Overview For this assignment, write a program that will simulate a single game of Craps. Craps is a game of chance where a player (the shooter) will roll 2 six-sided dice. The sum of the die will determi ...

### You need to program a microprocessor that would have a

You need to program a microprocessor that would have a temperature, gas, humidity and PIR sensor connected to it. It would send the data to a PC via a Zigbee and receive commands from the PC via the Zigbee to control mot ...

• 13,132 Experts

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

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