aayushi-droid / Edabit-Solutions

Edabit Solutions using Cpp(C++)
MIT License
39 stars 154 forks source link

Reverse Coding Challenge in Cpp #10

Closed aayushi-droid closed 3 years ago

aayushi-droid commented 3 years ago

Before jumping into Pr first comment for assign.

Problem statement: This is a reverse coding challenge. Normally you're given explicit directions with how to create a function. Here, you must generate your own function to satisfy the relationship between the inputs and outputs.

Your task is to create a function that, when fed the inputs below, produce the sample outputs shown. Probelm Link: https://edabit.com/challenge/64CeZWx5wWhTxhHLL


Before submitting a PR please Check some details.

This repository is vaild for HacktoberFest2020

Read before making PR - How to contribute on Github Good Luck,

Rubix982 commented 3 years ago

Sure. Just a question about the problem. Is this asking for a hard-coded implementation to the solution, or is it asking for finding a function that finds out the mathematical relation between the inputs -> outputs?

Rubix982 commented 3 years ago

Nevermind, it's trying to do the latter. Can I have this?

aayushi-droid commented 3 years ago

I didn't get the relation between Input and output for the given problem, So I added here.

aayushi-droid commented 3 years ago

@Rubix982 Assigned,

Rubix982 commented 3 years ago

Thanks, @aayushi-droid , I was just wondering what folder to put my solution in.