Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some changes that I would like to contribute. #1

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

jatin9909
Copy link

In this program I added a condition that if user entered the inches value larger than 12 than it will merge into feet.
For example - If user entered distance 1 value - 10 feet 30 inches and distance 2 value - 20 feet 40 inches then this if condition will merge than extra inches value into feet.
Then, the answer will be 35 feet 10 inches.

You can ignore the second commit of changing the file name of ios::app. I just did that because it wasn't cloning into my windows system.

suppose if the user entered the inches value greater than 12 then this condition will add the extra value in feet and remaining in inches.
@jatin9909 jatin9909 changed the title I have added an extra condition in distance program in c++/overloading assignment quesiton. Some changes that I would like to contribute. May 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant