Question: Selection ( if and switch ) Read two variables and sum it up and determine if its odd or even. Calculate the area of a

Selection (if and switch)
Read two variables and sum it up and determine if its odd or even.
Calculate the area of a circle - write a program that takes users input (radius) and calculates the perimeter and area of a circle (Perimeter =2* radius * pi -(pi =22/7 or 3.14), Area = radius * radius * pi)
Body Mass Index (BMI) calculation - write a program that takes users' input (weight and Height) and calculates the BMI. If the result is less than 18.5 display "you are underweight", if the result is greater than 18.5 display "you have a normal weight", if the result is greater than 24.9 display "your weight is considered overweight", and the result is greater than 30 display "your weight is considered as obese" (BMI =703\times weight (lbs)/[height (in)]2)
Write a program that prompts the user to enter a year and displays the animal for the year.
Chinese Zodiac
ATM program - write a program that simulates an ATM. The program has one account. The pin for the account is 1897, and the balance in the account $345.62. A user will come to the ATM and enter the code and withdraw money. If the pin is incorrect display "Incorrect pin code, program terminated", but if the pin is correct, display the balance of the account, and ask the user to enter a withdraw amount. if the amount entered is greater than the balance display "insufficient fund, program terminated" and if the amount entered is less than the balance, subtract the amount from the balance and display the new balance.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!