Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

For all 3 program use switch and case structure: flawchart (no codes) 1. Design a program that prompt the user to enter number of the

For all 3 program use switch and case structure: flawchart (no codes) 1. Design a program that prompt the user to enter number of the month of the year, then program should print the number of the days in that month. If user entered 1 the program should print there are 31 days in the month and if the user enters 2 for February check to see if it is a leap year or not when the program prints the number of the day in the month. 2. Design a program that prompts the user to enter vehicle type: 1 for passenger car and the tool charge is 0.50 cents, 2 for bus and the tool charge is 1.50 cents , 3 for truck and the tool charge is 2.00, 4 for motorcycle and the tool charge is 0.75. Program should print the type of vehicle and the toll charge. 3. Design a program that allows the user to enter a character, if user entered a, e, I, o, u then the Program should print the character entered was vowel otherwise print you entered a consonant. Hint, be aware that if you enter a number program will print consonant which is okay.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored 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

Recommended Textbook for

Accounting And Auditing Research And Databases Practitioner's Desk Reference

Authors: Thomas R. Weirich, Natalie Tatiana Churyk, Thomas C. Pearson

1st Edition

1118334426, 978-1118334423

More Books

Students also viewed these Databases questions

Question

Define decision automation systems.

Answered: 1 week ago

Question

Question Can any type of stock or securities be used in an ESOP?

Answered: 1 week ago

Question

Question Can a self-employed person adopt a money purchase plan?

Answered: 1 week ago