Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribed

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Time Series Databases New Ways To Store And Access Data

Authors: Ted Dunning, Ellen Friedman

1st Edition

1491914726, 978-1491914724

More Books

Students also viewed these Databases questions