computer methods

2. Write a program to check if the user input integer is positive or negative.
3. Write a program to check whether the user input number is the multiple of 3, 5, 7, 8,
or 11.
4. Write a program that will take user inputs then do a conversion between Miles and
Kilometers. You need to Use Switch structure for this problem. (i.e. The user should
be prompted to type in a number then the choice of conversion. If the user chose
Kilometer to Miles, the number that the user typed in needs to be converted to Miles
then the result should be displayed).

Redo problem 2 with Ternary (Trinary)
6. Some of you may have encountered errors or issues with using scanf() function
multiple times in a single script. Do a google search and find how to avert those errors.
Please, let the instructor know what you have found – no more than 100 words!
Since these problems are rather easy – you do not have to create pseudo code. Just
create 5 .c scripts and a word document for problem 6. Then, upload them.