Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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 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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started