This is also a question fro beginners. You have to take input from user in fraction form like
3/4, 7/9 etc and then add them and display answer in the form 4/5.
Here is the code
|
Figure: Program that takes two Fractional inputs and sums them to display result |
Similarly, you can try many simpler logics with mathematical formulas. Try to implement the formula for square of sum of two numbers.
No comments:
Post a Comment
Please comment, if you like the post, you find any mistake or if you have any query.