Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Note: use only if else and don't use any loop or nested loop A) Write a C++ program to compare two floating point numbers till

Note: use only if else and don't use any loop or nested loop A) Write a C++ program to compare two floating point numbers till 5 decimal place precision.

B) Write a program that takes year input and displays a message to show whether its a leap year or not.

C) Write a C++ program that takes a character from user as input and verifies its between a-z or A-Z. Then further apply a check whether its vowel or a consonant.

D) The base of a right-angle triangle is a; height is b. Base can only be integer, but height can be float. Enter all three angles of triangle.

Pythagoras theorem requires Its a right-angle triangle Then apply Pythagoras theorem to calculate hypotonus h.

Verify hypotonus is larger than both sides.

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

Oracle Solaris 11.2 System Administration (oracle Press)

Authors: Harry Foxwell

1st Edition

007184421X, 9780071844215

More Books

Students also viewed these Databases questions

Question

What are the main differences between rigid and flexible pavements?

Answered: 1 week ago

Question

What is the purpose of a retaining wall, and how is it designed?

Answered: 1 week ago

Question

How do you determine the load-bearing capacity of a soil?

Answered: 1 week ago

Question

what is Edward Lemieux effect / Anomeric effect ?

Answered: 1 week ago