Question: Homework Problems on using if , if - elseif - else, and ternary. Also, problems on using comparison and logical operators. Create a script to

Homework Problems on using if, if-elseif-else, and ternary. Also, problems on using comparison and logical operators.
Create a script to check whether a constant Character is a vowel or consonant.
Take for example, if
char Character ='A',
the output should be
Your Character is A Vowel".
Save as homework04_1.c
Create a script to check if the user input integer is positive or negative.
Take for example, if
int Number =-100,
the output should be
Your Number is A Negative Number".
Save as homework04_2.c
 Homework Problems on using if, if-elseif-else, and ternary. Also, problems on

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!