Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I just need the answer if this question with 100% accuracy kindly Question 1: For this question we are going to create a simple shopping

image text in transcribed

I just need the answer if this question with 100% accuracy kindly

Question 1: For this question we are going to create a simple shopping cart application, with the following requirements. 1. Your program will ask the customer for the name of the product and then the price of t product. 2. Your program should then ask the customer if they would like to buy more product. 3. If the customer responds "YES", then your program should repeat step 1 and then step 4. If the customer responds "NO", then your program should calculate the total price for th shopping cart. 5. Finally, your program should print the item list, i.e., name of the products and the price the products (one product and its price in each line) and lastly the total amount. 6. A customer can buy as many products as they want. Program should use List and loops to achieve the task. Question 2: Write a Program to calculate max and min of temperature over 12 months, with below requirement 1. Asks the user to enter the temperature for each month of year 2. For each input make sure the value must be between 15 and 50 3. If the user enters invalid value ask the user to enter again 4. Finally, the program displays only the maximum and minimum temperature along with their corresponding Month information. Program should use Arrays and loops to achieve the task

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

Step: 3

blur-text-image

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

Implementing Ai And Machine Learning For Business Optimization

Authors: Robert K Wiley

1st Edition

B0CPQJW72N, 979-8870675855

More Books

Students also viewed these Databases questions