THIS IS FOR PYTHON
price = float(input('Price: '))
if price > 8000:
print('You have exceeded the credit limit')
else:
print('Approved')
The credit limit on your credit card is the most you are permitted to spend.
What is Credit limit?Your credit limit won't be disclosed to you until the card you requested for is authorized. Applying for a secured credit card, where your security deposit frequently matches your credit limit, is an exception to this rule.
Also keep in mind that your credit limit is a real, set amount that you must adhere to.
You might be given the option to opt in and go beyond your limit, but only if you pay a cost. I strongly advise against signing up since it will be like having overdraft protection on your credit card. It leads inevitably to significant debt.
Therefore, The credit limit on your credit card is the most you are permitted to spend.
To learn more about Credit limit, refer to the link:
https://brainly.com/question/31053768
#SPJ3
List 5 ways by which Artificial intelligence (AI) can be used to drive our business.
Answer:
start a website
Explanation:
true
Given the mass of an airplane, the amount of forward force produced by its propellers, and the mass of the TWO gliders it is towing (airplane connected to first glider and the first glider is connected to the second glider), calculate the resulting tension on each cable connecting the aircraft and the acceleration of the glider. Vertical forces and air resistance are not considered. . Your program must accept input and produce output that matches exactly to the given executions. Note that the width modifier used for the tension values is calculated as the number of digits in the force input plus six. Example Execution #1 (eleven spaces after colon character for tension output): Enter mass of airplane (kg) -> 15000 Enter mass of glider #1 (kg) -> 5000 Enter mass of glider #2 (kg) -> 4500 Enter force produced by propellers (N) -> 75000 Acceleration: 3.06 m/s^2 -=-=-= Resulting tension on cable #1: Resulting tension on cable #2: 29081.63 Newtons 13775.51 Newtons
Answer:
Follows are the code to this question:
#include <stdio.h>//header file
int main() //main method
{
int plane, g1, g2, f;//defining integer variables
float m,a,t1,t2; //defining float variables
printf("Enter mass of airplane (kg)-> ");//print message for input value
scanf("%d", &plane);//input value
printf("Enter mass of glider #1 (kg)-> ");//print message for input value
scanf("%d", &g1);//input value
printf("Enter mass of glider #2 (kg)-> ");//print message for input value
scanf("%d", &g2);//input value
printf("Enter force produced by propellers (N) -> ");//print message for input value
scanf("%d", &f);//input value
m= plane + g1 + g2;//use float variable m to calculate Mass
a=f/m;//use float variable a to calculate Acceleration
printf("\nAcceleration: %.2f m/s^2", a);
printf("\n-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-");//use print method for design
t1 = (g1 + g2) * a;//using the t1 variable to calculate tensions
printf("\nResulting tension on cable #1: %.2f Newtons", t1);//print tension value
t2 = g2 * a;//using the t1 variable to calculate tensions
printf("\nResulting tension on cable #2: %.2f Newtons", t2);//print tension value
printf("\n-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-");//use print method for design
return 0;
}
Output:
Please find the attached file.
Explanation:
In this code four integer variable "plane, g1, g2, and f" and four floating-point variables "m, a, t1, and t2" is declared, in which the integer variable is used for input the value from the user-end.
In the next step, the "m" variable is used, which adds the "plane, g1, and g2" integer value to calculate mass, and in the "a" variable it calculates the acceleration, and in the "t1 and t2" variable it calculates the tension and prints its value.
Temperature converter. This program should prompt the user for two arguments, first a decimal number and second, a single letter, either C or F. The decimal represents a temperature, the character represents which system that degree is in (50.0 F would be 50.0 degrees Fahrenheit etc.). This program should take the given number and convert it to a temperature in the other system. The output string format should be degree(s) is equal to degree(s) . Eg. input 0 C would give the string 0.0000 degree(s) C is equal to 32.0000 degree(s) F. You can assume that either F or C will be given for input, no need to account for invalid input.
Answer:
[tex] \boxed{ \tt{I \: wrote \: the \: program \:with \:( c++)}}[/tex]
what are some applications of computer in public administration?
Answer:
Explanation:
Embedded Systems.
Windows applications (also called 'Desktop applications')
Web Applications.
Web Services.
Console applications.
10. Differentiate between equity share & preference share.
Answer:
Equity Shares are commonly called Common shares and have both advantages and disadvantages over Preference shares.
Equity shareholders are allowed to vote on company issues while preference shareholders can not.Preference shareholders get paid first between the two in the case that the company liquidates from bankruptcy. Preference shareholders get a fixed dividend that has to be paid before equity share dividends are paid. Preference shareholders can convert their shares to Equity shares but equity shareholders do not have the same courtesy.Preference shares can only be sold back to the company while equity shares can be sold to anybody.Passive devices _____ require any action from the occupants. A. Do not B.Sometimes C.Rarely D.Occasionally
Answer:
D:
Explanation:
I think, but double check!
Have a nice life and I hope you get full marks on your test/paper/work!
:)
Using the Impress program, you can add multimedia files, including audio, image, and video files, to the presentation
by using
the Insert menu.
the Media menu.
the Edit menu.
the Add menu.
Mark this and return
Answer:
A. The Insert Menu
Explanation:
:)
Answer:
Edit menu
Explanation:
For our homework we have to listen__ a podcast
Answer:
For our homework we have to listen to a podcast
Here is the API for a robot library. // moves the robot forward function moveForward(); // turns the robot to the left function rotateLeft(); // turns the robot to the right function rotateRight(); // checks if a robot can move in any direction // direction {string} - the direction to be checked // return {Boolean} - true if the robot can move in that direction, otherwise returns false function canMove(direction); Which code segment will guarantee that the robot makes it to the gray square without hitting a wall or a barrier (black square)
Answer:
Option (A)
Explanation:
See attachment for options
From the options, the code segment of option (A) answers the question and the explanation is as follows:
I added a second attachment which illustrates the movement
function (solveMaze) {
moveForward(); ---- The robot moves up (to position 1)
moveForward(); ---- The robot moves up (to position 2)
rotateRight(); ---- The robot changes where it faces (however, it is still at position 2)
while(canMove("forward")) { moveForward(); } ---- This is repeated until the robot reaches the end of the grid (i.e. position 3 and 4)
rotateLeft(); ---- The robot changes where it faces (however, it is still at position 4)
moveForward(); ---- The robot moves up to the gray square
You are working with a client who wants customers to be able to tap an image and see pricing and availability. As you are building the code in Java, what will you be using?
graphical user interface
icon public use
graphical public use
icon user interface
Answer:
A. Graphical user interface
Explanation:
In Java the graphical user interface is what manages interaction with images.
Answer: A.)
Explanation:
The answer is A because
I was born to rule the world
And I almost achieved that goal
(Giovanni!)
But my Pokémon, the mighty Mewtwo,
Had more power than I could control
(Giovanni!)
Still he inspired this mechanical marvel,
Which learns and returns each attack
(Giovanni!)
My MechaMew2, the ultimate weapon,
Will tell them Giovanni is back!
There'll be world domination,
Complete obliteration
Of all who now defy me.
Let the universe prepare,
Good Pokémon beware,
You fools shall not deny me!
Now go, go, go, go!
It will all be mine,
Power so divine
I'll tell the sun to shine
On only me!
It will all be mine,
Till the end of time
When this perfect crime
Makes history
Team Rocket! This is our destiny!
Listen up, you scheming fools,
No excuses, and no more lies.
(Giovanni!)
You've heard my most ingenious plan,
I demand the ultimate prize
(Giovanni!)
Now bring me the yellow Pokémon
And bear witness as I speak
(Giovanni!)
I shall possess the awesome power
In Pikachu's rosy cheeks!
There'll be world domination,
Complete obliteration
Of all who now defy me.
Let the universe prepare,
Good Pokémon beware,
You fools shall not deny me!
Now go, go, go, go!
It will all be mine,
Power so divine
I'll tell the sun to shine
On only me!
It will all be mine,
Till the end of time
When this perfect crime
Makes history
Team Rocket! This is our destiny!
To protect the world from devastation
To unite all peoples within our nation
To denounce the evils of truth and love
To extend our reach to the stars above
Jessie!
James!
There'll be total devastation,
Pure annihilation
Or absolute surrender.
I'll have limitless power,
This is our finest hour
Now go, go, go, go!
instances of how computer viruses are spread
Answer:
downloading apps from unsafe websites
Explanation:
some viruses have been embeded into this sites and when u download a file or an app the virus downloades with it
Answer:
Computer viruses can spread through the following media :
By opening an infected e-mail attachment,By downloading an infected program from the internet,By using infected floppy disk,pen drives and CDs,By transferring an infected program over a network and executing it.