if your ids last digit is 0 then implement Bisection numerical method to find the root of the given equation.
if your ids last digit is 1/2/3 or even then implement False position numerical method to find the given equation.
if your ids last digit is 4/5/6 or even then implement secant numerical method to find the given equation.
if your ids last digit is 7/8/9 or even then implement newton raphson numerical method to find the given equation.
given equation:x^3-(last digit of your id)x+(ASCIIvalue of your names first letter)
an example :if my id is 110104154 then the last digit is 4
my name: Sanjida first letter S . ASCII of S=83 (cap letter only)
so equation for me is:x^3-(4)x+(83)
as last digit is 4 i have to choose secant method.
now find your and you need to describe your equationand method choosein your report as i shown here.
Design & Implement a C- program that can handle salesmen records of ABC Company. Each salesman has unique 4-digit id #, name, salary, monthly sale & commission (commission is computed depending on value of monthly sale). Net income of a salesman is salary plus commission. Make maximum use of user defined Functions. Conditions for calculating commission are as follows: ➢ Commission is 20% of monthly sale, if sale is equal to or greater than 15,000. ➢ Commission is 15% of monthly sale, if sale is equal to or greater than 10,000 and less than 15,000. ➢ Commission is 10% of monthly sale, if sale is equal to or greater than 8,000 and less than 10,000. ➢ Commission is 5% of monthly sale, if sale is equal to or greater than 5,000 and less than 8,000. ➢ No Commission, if sale is less than 5,000
Design & Implement a C- program that can handle salesmen records of ABC
Company. Each salesman has unique 4-digit id #, name, salary, monthly sale &
commission (commission is computed depending on value of monthly sale). Net
income of a salesman is salary plus commission. Make maximum use of user
defined Functions.
Conditions for calculating commission are as follows:
➢ Commission is 20% of monthly sale, if sale is equal to or greater than 15,000.
➢ Commission is 15% of monthly sale, if sale is equal to or greater than 10,000
and less than 15,000.
➢ Commission is 10% of monthly sale, if sale is equal to or greater than 8,000
and less than 10,000.
➢ Commission is 5% of monthly sale, if sale is equal to or greater than 5,000 and
less than 8,000.
➢ No Commission, if sale is less than 5,000.
�
Design & Implement a C- program that can handle salesmen records of ABC
Company. Each salesman has unique 4-digit id #, name, salary, monthly sale &
commission (commission is computed depending on value of monthly sale). Net
income of a salesman is salary plus commission. Make maximum use of user
defined Functions.
Conditions for calculating commission are as follows:
➢ Commission is 20% of monthly sale, if sale is equal to or greater than 15,000.
➢ Commission is 15% of monthly sale, if sale is equal to or greater than 10,000
and less than 15,000.
➢ Commission is 10% of monthly sale, if sale is equal to or greater than 8,000
and less than 10,000.
➢ Commission is 5% of monthly sale, if sale is equal to or greater than 5,000 and
less than 8,000.
➢ No Commission, if sale is less than 5,000
Given an array A of N integers and two integers X and Y, find the number of integers in the array that are both less than or equal to X and divisible by Y
Write a program that reads 5 marks of different subjects out of 100 from the keyboard and determines and displays the sum and percentile of the marks
given a number of mangoes and number of persons. Find the number of ways to distribute identical mangoes among identical persons
Write a program in C to show the basic declaration of pointer.
Pointer : Show the basic declaration of pointer :
-------------------------------------------------------
Here is m=10, n and o are two integer variable and *z is an integer
z stores the address of m = 0x7ffd40630d44
*z stores the value of m = 10
&m is the address of m = 0x7ffd40630d44
&n stores the address of n = 0x7ffd40630d48
&o stores the address of o = 0x7ffd40630d4c
&z stores the address of z = 0x7ffd40630d50
They said pyramids were created by aliens, so if you can make a pyramid you might be able to qualify as an alien.
Instructions:
Input
1. Integer n
Output
Enter·n:·4
T
TT
TTT
TTTT