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 radius pi pi or 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 display "you are underweight", if the result is greater than display "you have a normal weight", if the result is greater than display "your weight is considered overweight", and the result is greater than display "your weight is considered as obese" BMI times weight lbsheight in
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 and the balance in the account $ 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
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
