I want help to answer this 3 question today I don't know how can I solve
1-Write a program to find the maximum number between 3 integer numbers.
The three numbers will be inserts by the user.
(This example should be solved by using the function)
2-write a program to find the sum of the odd numbers between any selected 10 numbers which the user inserts into an array.
3-
A) Wrie an algorothim for the following case:
User will input (insert) first_name, last_name, nationality, license_No,car_plate_No andfine_amount.
If the amount is exceeding 3000 Dhs(inclusive) then program should display net_amount with 20% discount otherwise it should display fine_amount as net_amount
B) Construct a trace table that test algorithm given above for the following Dataset:
First_name=Mohammed
Last_name=Ahmed
Nationality=UAE
License_No=5544432
Car_plate_no=55435
First_amount=3500
It seems fairly straight forward. Once you get the input, all you really need to process is the amount (so [if I read the instructions right] subtract 20% if it is greater than or equal to 3000 [keeping in mind that p percent of n is n * (p / 100). So, for example 8% of 30 is 30 * (8 / 100) = 30 * 0.08 = 2.4]).
Again, if you have some code, it would be a great help.