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
KiRa [710]
4 years ago
13

Write a conditional expression that assign the value 0 to a credits variable if it is less than 0; otherwise the value of the cr

edits variable remains unchanged.
Computers and Technology
2 answers:
Svetach [21]4 years ago
6 0

Answer:

credits = (credits < 0) ? 0 : credits;

Explanation:

This is the ternary conditional operator.

grin007 [14]4 years ago
3 0

Answer:

void updateCredit(float credit){

if credit < 0.0

credit = 0.0;

}

Explanation:

I am going to write a C function for this.

The input is your credit value, and it has just a conditional to verify if it is not negative.

void updateCredit(float credit){

if credit < 0.0

credit = 0.0;

}

You might be interested in
question 1 scenario 1, question 1-5 you’ve just started a new job as a data analyst. you’re working for a midsized pharmacy chai
zvonat [6]

In the case above, the right thing that one need to do  is to  Download the data as a .CSV file, then import it into a spreadsheet.

<h3>What is in a CSV file?</h3>

A CSV is known to be a comma-separated values file and this is said to be a a text file that is known to contain all the information that is often separated by the use of commas.

Note that the CSV files are said to be one that are known to be commonly seen in spreadsheets as well as in databases.

A person can be able to make use of a  CSV file to be able to transmit data between programs that are known to be not ordinarily available to exchange data.

Therefore, In the case above, the right thing that one need to do  is to  Download the data as a .CSV file, then import it into a spreadsheet.

Learn more about CSV file from

brainly.com/question/14338529

#SPJ1

6 0
2 years ago
Using media allows us to:
neonofarm [45]

Answer: "Contribute and Create"

Explanation: While, yes, technology and digital media does tend to isolate us from the real world, it is a great tool for contributing to society!

5 0
3 years ago
Which of the following operation is not performed by a mouse 1) left click , middle click , right click, double click​
agasfer [191]

Answer:

middle click

Explanation:

hope it helps

3 0
3 years ago
Read 2 more answers
Which of the following could you use to submit work from home?
photoshop1234 [79]
Wifi is what youd need
6 0
3 years ago
Reputable firms often ask recent graduates to pay an up-front fee for a job.
wolverine [178]

Answer:

What is your question?

Explanation:

7 0
3 years ago
Read 2 more answers
Other questions:
  • Can't find the right year for this. (Attachment)
    6·1 answer
  • Adding functionality to a Button is easy when you use the IDE. After you have dragged a Button onto a Form, you can ____ it to c
    7·1 answer
  • A computer essentially takes input, processes it, and produces output. Which person developed a machine in the mid-1880s that ac
    6·1 answer
  • Organizational Units are typically configured to: prevent companies from sharing resources. ensure that the system password is t
    13·1 answer
  • What are the primary IP addresses for DNS servers hosted on the x128bit, iskytap and cloudparadox domains
    8·1 answer
  • Help a brotha out..................
    10·1 answer
  • …….. and ……...are called binary digits. (Computer Science)
    13·2 answers
  • Now that you have learned the basics of acquiring relevant information through research, it's time to put your skills to work.
    7·1 answer
  • Which of the following factors is least likely to result in delivery delays?
    7·1 answer
  • How much would you guys pay for a used ps4 with a black ops 3 disc?
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!