Question: 1 Alm 1. Write a python program to accept the Customer name, Cust id, Bank name and Branch of 1 customer. Print it as a

 1 Alm 1. Write a python program to accept the Customer

1 Alm 1. Write a python program to accept the Customer name, Cust id, Bank name and Branch of 1 customer. Print it as a table as shown below. Customer Name Cust ID Bank name Branch John c3569 Bank Muscat Firq 2. Write a program to accept the base and height of a triangle. Swap the base and height. Then calculate the area of triangle using the formula 1/2 * base height. Procedure 2 1. Use input statement and print statements to accept and print the values. 2. Get b,h from the user and interchange the values. The calculate the area and print the answer. Sample Output: 1) 2) Enter name: John Enter base: 4 Enter cust id: c3569 Enter bank name: 32659836 Enter height: 7 Swapping values: 7 Area = 14 sq.m Enter branch: Firq WS

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 Databases Questions!