Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <template>
- <div>
- <h1>Simple Interest</h1>
- <p>The calculated Simple Interest is {{(principle * interest * rate) / 100}}</p>
- </div>
- </template>
- <script>
- export default {
- data(){
- return{
- principle: 10,
- interest: 2,
- rate: 10
- }
- }
- }
- </script>
- <style>
- </style>
Add Comment
Please, Sign In to add comment