Question: how can i create a script im confused Part 1: Homework Problems on using if, if-elseif-else, ternary, and switch conditionals. Also, problems on using comparison
Part 1: Homework Problems on using if, if-elseif-else, ternary, and switch conditionals. Also, problems on using comparison and logical operators. 1. Write a program to check whether a certain alphabet is a vowel or consonant. Save as PT1_PB1.C 2. Write a program to check if a certain integer is positive or negative. Save as PTI PB2.c 3. Write a program to check whether a certain number is the multiple of 3, 5, 7, 8, or 11. Save as PT1 PB3. 4. Write a program that will do a conversion between Miles and Kilometers. You need to Use Switch structure for this problem. Try with 100 Miles first then retry with 100 Kilometers Save as PTI PB4.C 5. Redo problem 2 with Ternary (Trinary) Save as homework04_5.c Since these problems are rather easy - you do not have to create pseudo code. Just create 5.c. scripts for Problems 1-5
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
