1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Naddik [55]
3 years ago
11

Select the creative imaging fields that require knowledge of programming.

Engineering
1 answer:
denis23 [38]3 years ago
8 0
Video game designer for sure
You might be interested in
Write a C program that will update a bank balance. A user cannot withdraw an amount ofmoney that is more than the current balanc
GarryVolchara [31]

Answer:

Explanation:

Sample output:

BANK ACCOUT PROGRAM!

----------------------------------

Enter the old balance: 1234.50

Enter the transactions now.

Enter an F for the transaction type when you are finished.

Transaction Type (D=deposit, W=withdrawal, F=finished): D

Amount: 568.34

Transaction Type (D=deposit, W=withdrawal, F=finished): W

Amount: 25.68

Transaction Type (D=deposit, W=withdrawal, F=finished): W

Amount: 167.40

Transaction Type (D=deposit, W=withdrawal, F=finished): F

Your ending balance is $1609.76

Program is ending

Code to copy:

// include the necessary header files.

#include<stdio.h>

// Definition of the function

float withdraw(float account_balance, float withdraw_amount)

{

// Calculate the balace amount.

float balance_amount = account_balance - withdraw_amount;

// Check whether the withdraw amount

// is greater than 0 or not.

if (withdraw_amount > 0 && balance_amount >= 0)

{

// Assign value.

account_balance = balance_amount;

}

// return account_balance

return account_balance;

}

// Definition of the function deposit.

float deposit(float account_balance, float deposit_amount)

{

// Check whether the deposit amount is greater than zero

if (deposit_amount > 0)

{

// Update account balance.

account_balance = account_balance + deposit_amount;

}

// return account balance.

return account_balance;

}

int main()

{

// Declare the variables.

float account_balance;

float deposit_amount;

float withdrawl_amount;

char input;

// display the statement on console.

printf("BANK ACCOUT PROGRAM!\n");

printf("----------------------------------\n");

// prompt the user to enter the old balance.

printf("Enter the old balance: ");

// Input balance

scanf("%f", &account_balance);

// Display the statement on console.

printf("Enter the transactions now.\n");

printf("Enter an F for the transaction type when you are finished.\n");

// Start the do while loop

do

{

// prompt the user to enter transaction type.

printf("Transaction Type (D=deposit, W=withdrawal, F=finished): ");

// Input type.

scanf(" %c", &input);

// Check if the input is D

if (input == 'D')

{

// Prompt the user to input amount.

printf("Amount: ");

// input amount.

scanf("%f", &deposit_amount);

// Call to the function.

account_balance=deposit(account_balance,deposit_amount);

}

// Check if the input is W

if (input == 'W')

{

printf("Amount: ");

scanf("%f", &withdrawl_amount);

// Call to the function.

account_balance = withdraw(account_balance,withdrawl_amount);

}

// Check if the input is F

if (input == 'F')

{

// Dispplay the amount.

printf("Your ending balance is $%.2f\n", account_balance);

printf("Program is ending\n");

}

// End the while loop

} while(input != 'F');

return 0;

}

the picture uploaded below shows the program screenshot.

cheers, i hope this helps.

5 0
3 years ago
Horizontal shear forces and, consequently, horizontal shear stresses are caused in a flexural member at those locations where th
jek_recluse [69]

Answer:

False

Explanation:

When the horizontal shear forces act on the surface there is transverse shear stress at a particular point which is equal in magnitude. Pure bending is less common than a non uniform bending because the beam is not in equilibrium.

5 0
3 years ago
1. Present the pros and cons of an employer participating in the OSHA Voluntary Protection Program (VPP) or the Star Program. Ba
algol13

Answer:

kohjhfg do gm gm gm tm yl tm yk 9k umm yk to gm I'm y dm b do di Cy do do do do di du t6

3 0
2 years ago
Read 2 more answers
. A normal-weight concrete has an average compressive strength of 20 MPa. What is the estimated flexure strength
bulgar [2K]

Answer:

2.77mpa

Explanation:

compressive strength = 20 MPa. We are to find the estimated flexure strength

We calculate the estimated flexural strength R as

R = 0.62√fc

Where fc is the compressive strength and it is in Mpa

When we substitute 20 for gc

Flexure strength is

0.62x√20

= 0.62x4.472

= 2.77Mpa

The estimated flexure strength is therefore 2.77Mpa

4 0
3 years ago
The gas velocity decrease from 480 m/s to 160 m/s through a stationary normal shock. If the pressure and density upstream of the
Ainat [17]

Answer:

52m/s

12 kpa

0.1 kg/m

Explanation:

make me brainless tyyy

6 0
2 years ago
Other questions:
  • Whenever you are around construction sites, you should A speed up so you get through it quicker and avoid falling rocks B maneuv
    10·1 answer
  • The two boxcars A and B have a weight of 20000lb and 30000lb respectively. If they coast freely down the incline when the brakes
    11·1 answer
  • Which of these is least likely a step in replacing a failed compressor?
    12·2 answers
  • Ratio equivalent to 12 red beans to 5 total beans
    15·1 answer
  • Which step in the engineering design process likely broke down in the following scenario?
    14·1 answer
  • While discussing the diagnosis of an EI system in which the crankshaft and camshaft sensor tests are satisfactory but a spark te
    13·1 answer
  • Which of the following parts tells the transmission how fast or slowly a vehicle is going? A) pump
    5·1 answer
  • You need to lower your lift onto the mechanical load-holding devices to provide structural support before working under the lift
    12·1 answer
  • How can we love our country? Not by words but by deeds. - Jose P. Laurel
    7·1 answer
  • You want to see both Michael and Meet Wally Sparks. If you purchase tickets for both
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!