Conversation
ShreyanshDarshan
left a comment
There was a problem hiding this comment.
This code can be altered a little to include multiple variables in a single input statement by using a queue.
sumanthd17
left a comment
There was a problem hiding this comment.
A few changes before we merge this PR - look at the comments
|
|
||
| start | ||
| initialise hi=20 | ||
| initialise int a |
There was a problem hiding this comment.
instead of having 2 lines for initializing and then taking input i feel it is better to do it in the same line.
Eg. input int a;
We then initialize the variable a and take the input. This way we can initialize any type of variable.
There was a problem hiding this comment.
I would love to work on this issue after this PR is merged.There is no point of adding features if it is not merge at the end.
Btw, thanx for your suggestion and will look forward for your suggestions and reviews in future.
#Added Inputting a variable functionality
Types of Changes
Please describe the changes you have made, be as descriptive as you can
I have added a feature to input a single variable only.
If user is trying to get input of an uninitialized input then in converted code the variable automatically gets converted to 'float' datatype.
If you have added any new feature please add screenshot of the output, how it has been changed after addition of the new feature
Checklist
Please checkout the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask .Join our gitter channel and feel free to ask.
Thank You !