Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

3 and 4 please Part 1: Homework Problems on using if, if-elseif-else, ternary, and switch conditionals. Also, problems on using comparison and logical operators. 1.

image text in transcribed
3 and 4 please
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 PT1_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.c 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 PT1_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

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions