Code for insurance premium calculator

Can I get the code for health insurance premium calculator app?I am a newbie here.Thanks in advance.

Not seen this one before, doesn’t appear to be anything in the gallery either, so you could be the first to want to do this. If you have the underlying method for the calculations, you could make a start with your app, then ask for help if you get stuck.

1 Like

I want to make this simple interface for school project.
logic will be following—
premium amount should be dependent on age and sum assured.
if age is between 0-45 premium amount will be 0.033 times of sum assured
and if age is between 45-65 then premium amount will be 0.08 times of sum assured.

pls help me out with the code blocks for the above logic,

So you’re asking other people to do your homework for you?

3 Likes

Set yourself up with an if statement ">45 or >=45>=65 and apply the multipiers (0.033 and 0.08) accordingly, then multiply the sum to be assured.

OK. What you need to know is how to use Programming Your App to Make Decisions and how to use the Math blocks .

Here are some resources to help you learn to use the AI2 tools. A very good way to learn App Inventor is to read the free Inventor's Manual here in the AI2 free online eBook http://www.appinventor.org/book2 ... the links are at the bottom of the Web page. The book 'teaches' users how to program with AI2 blocks.

There is a free programming course here http://www.appinventor.org/content/CourseInABox/Intro and the aia files for the projects in the book are here: http://www.appinventor.org/bookFiles

How to do a lot of basic things with App Inventor are described here: http://www.appinventor.org/content/howDoYou/eventHandling .

Also look here App inventor español. Offline. Tutorial. Ejemplos. Instalación. Códigos. Juegos. Curso gratis de App inventor. and here Tutorial Index | imagnity for more tutorials.