Hi, Please can anybody help me a little bit with my assignment , The thing is that I was kinda ill , so i missed many important lessons, but now teacher told that i need to do assignment, Can anybody help me with beggining , * we use Xcode.
1. Write a program that, when given two integers, prints out the fourth digit (from the right) of the sum of the numbers.
Examples:! 19834, 2100! -->! 1! ! !
3456, 4567! -->! 8!
Output should look exactly like this:
>Please enter three integers: >2000 1045 >3
(21934) ( 8023)
2. Write a program that, when given three integers, prints out the minimum of the three. (You cannot use any math library) Examples:!
13, 21, 9! -->! 9
Output should look exactly like this:
>Please enter three integers: >35 56 24 >24
3. Write a program that, when given five integers, prints out the number of integers that are more than 0. Examples:! 13, 21, 9, -3, 5! -->! 4 ! ! 2, -4, 0, 435, 1! -->! 3
Output should look exactly like this:
>Please enter five integers: >35 56 200 -5 -6 >3