- Jul 1, 2005
- 305
- 0
- 0
I need help with my homework but I have no idea how to do it. My professor is a moron and didn't even teach us how to use the easyC program at all to write codes.
So if anyone knows how to do these, please help me out a bit.
So if anyone knows how to do these, please help me out a bit.
(3) Write a program to add all the odd numbers between 0 and 100.
(4) Write a program to find and copy the smallest value of the variables A, B, C, and D to the variable ?MIN?.
(5) Write a program to find and copy the 2nd largest value of the variables A,B, C, and D to the variable ?SECOND?. If there is a tie, use the tie value. Consider the following example.
4, 5, 8, 8, 9 => SECOND = 8
7, 7, 7, 7 => SECOND =7
9, 5, 2, 2 => SECOND = 5
2