1(a) Write a program that accepts a currency amount from the user and displays a statement...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
1(a) Write a program that accepts a currency amount from the user and displays a statement according to the following criteria: Balance > 0 and <= 5000 > 5000 below 0 Message You have sufficient funds You will receive 1% profit Add funds 1(b) Write a program to find if a user given character is a vowel or not. Check with both small and capital vowel alphabets "AEIOUaeiou" [Hint: use 'in']. Show your programs with user given inputs and one condition being correctly processed in their results. Use screenshots, mark them with Q1(a) and Q1(b) and save them in your text file. [2 marks] 1(a) Write a program that accepts a currency amount from the user and displays a statement according to the following criteria: Balance > 0 and <= 5000 > 5000 below 0 Message You have sufficient funds You will receive 1% profit Add funds 1(b) Write a program to find if a user given character is a vowel or not. Check with both small and capital vowel alphabets "AEIOUaeiou" [Hint: use 'in']. Show your programs with user given inputs and one condition being correctly processed in their results. Use screenshots, mark them with Q1(a) and Q1(b) and save them in your text file. [2 marks] 1(a) Write a program that accepts a currency amount from the user and displays a statement according to the following criteria: Balance > 0 and <= 5000 > 5000 below 0 Message You have sufficient funds You will receive 1% profit Add funds 1(b) Write a program to find if a user given character is a vowel or not. Check with both small and capital vowel alphabets "AEIOUaeiou" [Hint: use 'in']. Show your programs with user given inputs and one condition being correctly processed in their results. Use screenshots, mark them with Q1(a) and Q1(b) and save them in your text file. [2 marks] 1(a) Write a program that accepts a currency amount from the user and displays a statement according to the following criteria: Balance > 0 and <= 5000 > 5000 below 0 Message You have sufficient funds You will receive 1% profit Add funds 1(b) Write a program to find if a user given character is a vowel or not. Check with both small and capital vowel alphabets "AEIOUaeiou" [Hint: use 'in']. Show your programs with user given inputs and one condition being correctly processed in their results. Use screenshots, mark them with Q1(a) and Q1(b) and save them in your text file. [2 marks]
Expert Answer:
Related Book For
Posted Date:
Students also viewed these programming questions
-
Planning is one of the most important management functions in any business. A front office managers first step in planning should involve determine the departments goals. Planning also includes...
-
You are required to write a Python program that will manage character (heroes and villain) information. Character (hero and villain) information will be stored in a text file that will be read in...
-
Mr. Yap bought a bond having a face value of Php 1,000.00 for Php 970.00. The bond rate was 14% nominal and dividends were made to him semiannually for a total of 7 years. At the end of the seventh...
-
Describe how the statement of cash flows helps investors and creditors perform each of the following functions: 1. Predict future cash flows 2. Evaluate management decisions 3. Predict the ability to...
-
A student takes the campus shuttle bus to reach the classroom building. The shuttle bus arrives at his stop every 15 minutes but the actual arrival time at the stop is random. The student allows 10...
-
Describe what is meant by parent holding company model.
-
Najm Company uses a standard costing system to account for its pita bread manufacturing process. The bread is sold in packages of one dozen pieces. The company has set the following cost standards...
-
A $1,000 par value bond has an 8% coupon rate (paid semiannually). It has 5 years remaining to maturity. If bond's current price $1, 179.65, what should be the YTM of this bond?
-
A small backpack manufacturer carries four different models of backpacks, made of canvas, plastic, nylon, and leather. The bookstore, which will exclusively sell the backpacks, expects to be able to...
-
Suppose the average yearly salary of an individual whose final degree is a master's is $39 thousand less than twice that of an individual whose final degree is a bachelor's. Combined, two people with...
-
Complete the following statements with one of the terms listed here. You may use a term more than once, and some terms may not be used at all. a. A(n) _______ is the cost of making one more unit. b....
-
State the Kelvin-Planck and the Clausius statements of the second law of thermodynamics. Explain the equivalence of Kelvin-Planck and Clausius statements.
-
Define boiler according to IBR. Classify mountings into safety fittings and control fittings.
-
Points A, B, and C form the vertices of a triangle in a nonuniform electrostatic field. The electrostatic work done on a particle of charge \(q\) as the particle travels from \(A\) to \(B\) is \(W_{A...
-
Enumerate the advantages and disadvantages of superheated steam.
-
An investor is considering investing $100,000 for four years in an investment. The annual return on the investment is normally distributed with mean 12% and standard deviation 15%. The returns are...
-
Estimate a range for the optimal objective value for the following LPs: (a) Minimize z = 5x1 + 2x2 Subject to X1 - x2 3 2x1 + 3x2 5 X1, x2 0 (b) Maximize z = x1 + 5x2 + 3x3 Subject to X1 + 2x2 +...
-
You created a class called RandomGuess. In this game, players guess a number, the application generates a random number, and players determine whether they were correct. Improved the application to...
-
You created an interactive StaffDinnerEvent class that obtains all the data for a dinner event for Carlys Catering, including details about the staff members required to work at the event. Now,...
-
a. Write an application that instantiates a JFrame that contains a JButton. Disable the JButton after the user clicks it. Save the file as JFrameDisableButton.java. b. Modify the JFrameDisableButton...
-
In a recent study of how mice negotiate turns, the mice ran around a circular 90 turn on a track with a radius of 0.15 m. The maximum speed measured for a mouse (mass = 18.5 g) running around this...
-
It is well known that runners run more slowly around a curved track than a straight one. One hypothesis to explain this is that the total force from the track on a runners feet the magnitude of the...
-
You are driving your car through a roundabout that has a radius of 9.0 m. Your physics textbook is lying on the seat next to you. What is the fastest speed at which you can go around the curve...
Study smarter with the SolutionInn App